Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to dynamically setup scheduled tasks in windows.

So far I have a bat script that deploys some software in various places. The next step would be to start/stop those programs at certain intervals through scheduled tasks. Hence they have to run a certain script every hour or so...


share|improve this question
up vote 3 down vote accepted

The schtasks.exe utility can do this. Here is the link with the usage.

share|improve this answer
You can find example usage in Evan's response to this question of mine:… – Kyle Brandt Aug 28 '09 at 14:30

The "at" command in windows can be used in command line, it schedules the task you want.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.