11
3
What's the Windows equivalent to cron, or for those of you unfamiliar with Unix, how does one schedule a program to run at regular intervals?
11
3
What's the Windows equivalent to cron, or for those of you unfamiliar with Unix, how does one schedule a program to run at regular intervals?
20
With Scheduled Tasks, you can schedule any script, program, or document to run at a time that is most convenient for you. Scheduled Tasks starts every time that you start Windows XP and runs in the background, and it starts each task that you schedule at the time that you specify when you create the task.
Also, you should check out this article from Lifehacker on using Scheduled Tasks. It gives examples for Defragging your computer, restarting your computer, and opening Firefox when at startup with a set of websites
Try having a program execute every half an hour. 8-{ No way. – Hans-Peter Störr – 2011-09-07T13:13:28.607
3
Another idea is to use Cygwin and use VixieCron. You can even install cron as a service so it will run your cronjobs without having Cygwin open. Its perfect for the Unix geek who doesn't have the time or want to learn the Windows way.
Here is a link that should help you get started. Running cygwin cron from windows as a service.
1
Windows task scheduler. Support article for scheduling tasks on XP.
1
The AT command does the same job, I am guessing it is still supported on vista ... checking ... yes it is still on W7 RC 1, just type "at /?" for how to use it.
at
is just the command-line command to create scheduled tasks. It's still the Task Scheduler Service running in background :) – Joey – 2009-07-17T00:36:49.227
Sure, but for a unix head (like me) I tend to think in terms of the command line utility, rather than the background service. I think of windows scheduler (incorrectly) as a scheduling wizard gui interface. – Bruce McLeod – 2009-07-17T00:59:28.450
Compare this question .
– Hans-Peter Störr – 2011-09-07T13:21:52.953@hstoerr, I asked mine first. The other question was asked in December 2009, this one was asked in July 2009. – Paul Tomblin – 2011-09-07T13:31:20.800
That's fine. The link is for the benefit of people like me, who arrive at this question by search. – Hans-Peter Störr – 2011-09-07T14:22:17.473