scheduler could not map drive

J

JIM.H.

Hello,
I am using Administrator as the user in the scheduler, a
batch file is mapping a drive and copy some file to local
C: drive. When I run the batch file manually it works fine
but When I get it run under scheduler it seems it could
not map the driver.
How can I do this?
Thanks,
Jim.
 
P

Pegasus

JIM.H. said:
Hello,
I am using Administrator as the user in the scheduler, a
batch file is mapping a drive and copy some file to local
C: drive. When I run the batch file manually it works fine
but When I get it run under scheduler it seems it could
not map the driver.
How can I do this?
Thanks,
Jim.

Add some diagnostics to your batch file, examine the log files
and all will become clear!

@echo off
echo %date% %time% User=%UserName% > c:\test.log
net use x: \\SomeServer\SomeShare 1>>c:\test.log 2>c:\test.err
 

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

Top