Let Windows take care of your scheduling
Windows NT has a built in scheduler which you can
control by using the "
AT"
command. For example, you can use it to automatically run
any program you like in the background (invisible mode)
or in the foreground (interactive mode).
- First make sure that the "Schedule" service is
turned on:
- Go to the "Control
Panel"
- Double click on "Services"
icon
- Select "Schedule"
- If the "Schedule"
service's "startup"
is not set to "Automatic,"
do so by clicking on "Startup..."
button
- If the "Schedule"
service is not started, do so by clicking
on "Start"
- Run "Command Prompt"
- Add programs to the scheduler using the following
command:
AT <time>
/INTERACTIVE /EVERY:<dates>
"<command>"
For example, let's say you want to run a program
called "notepad.exe"
(of course this could be virtually any program
you like) every Monday to Friday at 6:00 AM.
Here's how to call the "AT" command:
AT 6:00
/interactive /every:M,T,W,Th,F
"notepad.exe"
For more help on how to use the "AT"
command, type:
AT /?
Applicable Keywords : Windows NT, Windows NT 3.x, Windows NT 4.x, Windows