I have a scheduled task that runs a batch file running a python script to add fields into my SDE database (runs at about 2am).
If I run the batch file manually, the python script runs and completes fine.
However when the scheduled task runs the batch file, the python script starts, but it fails when it tries to import the arcgisscripting module. I don't understand why it's failing here, as it works fine when the batch is manually run, but fails when it is scheduled. I have other scripts scheduled overnight that run python scripts (which include arcgisscripting) and these run fine, so I'm a little confused as to why this one is failing every morning.
Any suggestions?
Thanks,
Mike.