I have a simple .bat file to Robocopy folders and files to an external shared drive for backup.
The .bat runs ok if I launch it.
It does nothing if I launch it with Task scheduler.
I get this error in event viewer. I don't know how to interpret the error.
Any help?
Task Compatibility module failed to update task
"User_Feed_Synchronization-(90573B48-7F1A-49EB-B0E2-630E54FB2F9A).job" to the required status 0.
Additional data error value 2147943732.
Thanks
Frank C
Task Scheduler Actions tab > Edit Actions > Program/Script entry must not be surrounded with quotes It is if you use the Browse button to find your file to be executed.
Mine looked like this:
I had one more problem getting Robocopy to work under Task Scheduler.
Since my backup drive is a shared network drive the destination was not found. I got this error:
2009/08/15 20:20:00 ERROR 3 (0x00000003) Creating Destination Directory S:\Shared-Music\BackUp-Test\
The system cannot find the path specified.
I learned that using the UNC addressing scheme could circumvent accessing a mapped network drive problem. I used the CMD prompt and the NET USE cmd to get the format. I changed My Robocopy cmd from :
Thanks for this post Frank, the ERROR 3 was exactly my problem. Switching to UNC fixed my issue... who would have thought it was the mapped drive (normally that FIXES problems). How dumb.