can't get scheduled task to work

Z

ZenMasta

I need help with a scheduled task that doesn't work. The scheduler shows the
last run time as if it's running like normal but it doesn't even start.

The command is v:\backup\a.bat
start in: v:\backup

I can double click the file and it will run no problem. Any suggestions?
 
P

Pegasus \(MVP\)

ZenMasta said:
I need help with a scheduled task that doesn't work. The scheduler shows
the last run time as if it's running like normal but it doesn't even start.

The command is v:\backup\a.bat
start in: v:\backup

I can double click the file and it will run no problem. Any suggestions?

Scheduled tasks run in their own environment. They do not
know about drive letters mapped in a foreground session
and they probably would not have access to such shared
drives either. Make it c:\backup\a.bat and watch what
happens!
 
B

Bob I

Where is "v"? If it's a mapped drive, then you will likely need to
provide the mapping in a local bat file along with the rest of the
"a.bat" instructions to be run from the scheduled task.
 
Z

ZenMasta

Much easier to just move the bat to drive c like suggested instead of
creating a 2nd bat referring to the other..

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top