Link to home
Start Free TrialLog in
Avatar of cliffordgormley
cliffordgormleyFlag for United States of America

asked on

Scheduled Robocopy batch job not running as a Scheduled Task

Hello,
I have a robocopy batch file that I run as a Scheduled Task.
When it runs automatically via a Schedule Task, it displays the error message below:
I can manually access the S: drive without any issues.
NOTE: When I run the robocopy1.bat file by right-clicking it, and selection 'Open', it runs fine, therefore the script is fine.  It just seems to be related to the Scheduled Task service.

Started : Thu Oct 08 03:10:00 2009
2009/10/08 03:10:00 ERROR 3 (0x00000003) Getting File System Type of Source S:\
The system cannot find the path specified.
   Source - S:\
     Dest : F:\
    Files : *.*
 Options : *.* /TS /FP /TEE /S /E /COPYALL /R:3 /W:30
------------------------------------------------------------------------------
NOTE: NTFS Security may not be copied - Source may not be NTFS.
2009/10/08 03:10:00 ERROR 3 (0x00000003) Accessing Source Directory S:\
The system cannot find the path specified.

Avatar of leakim971
leakim971
Flag of Guadeloupe image

Hello cliffordgormley,

Could you confirm S: is a network drive ?

Regards.
ASKER CERTIFIED SOLUTION
Avatar of Shift-3
Shift-3
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of cliffordgormley

ASKER

leakim: it is a network drive

Shit-3: I wil ltry using UNC path instead.
The account does have permissions under the scheduled task
That was it!  Thank you