I have a batch file ( that ends with .bat), and I want to run it automatically everyday.
What is the tool I can use in order to automate my batch script running?
I'm on Windows.
|
I have a batch file ( that ends with .bat), and I want to run it automatically everyday. What is the tool I can use in order to automate my batch script running? I'm on Windows.
| |||
feedback
|
|
Use the Scheduled Tasks control panel applet (GUI interface) or the schtasks command (command line interface). Instructions for the Scheduled Tasks applet are found in Microsoft Knowledge Base article KB308569. Instructions for the schtasks command are available on Microsoft TechNet. | |||
|
feedback
|
|
| |||
|
feedback
|
|
I have found windows scheduler flakey- jobs dont always start for various obscure reaons - permissions, desktop interactivity and the like. It just didnt click with me as I have never had mastery of this tool. I have had good luck with cronW through the years and its interface is more like the cron that unix/linux users use to schedule recurring tasks. remember that the search path in cron or schedule is not existant and your jobs always will start in %systemroot% so you need to change dirs etc to get to where you need to execute the command. | |||
|
feedback
|