cliffordgormley
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.
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
Shit-3: I wil ltry using UNC path instead.
The account does have permissions under the scheduled task
ASKER
That was it! Thank you
Could you confirm S: is a network drive ?
Regards.