GodMother
asked on
Automate Robocopy Scripts
Hi Team,
I have few robocopy scripts to run everyday. What is the best and effective way to automate.
I tried with Task Scheduler (Windows 2008) with making a .BAT file, but it's not running properly. Sometimes Jobs are skipping. What would be the best way to automate and monitor if fails. Thank you
I have few robocopy scripts to run everyday. What is the best and effective way to automate.
I tried with Task Scheduler (Windows 2008) with making a .BAT file, but it's not running properly. Sometimes Jobs are skipping. What would be the best way to automate and monitor if fails. Thank you
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Check credential used to run this jobs. I have never heard job scheduler skips jobs...
sometimes there are some problems with privileges on tasks folder. my solution is:
The steps above grant Administrators group full control permission to the C:\WINDOWS\Tasks folder.
Start - Run - CMD - C:/windows - CACLS TASKS /E /G builtin\administrators:F
The steps above grant Administrators group full control permission to the C:\WINDOWS\Tasks folder.
ASKER
I have granted by the above command. let me wait for the next run of task
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Experts comment helped me in finding the issue and figured out the way to resolve.