News:

This week IPhone 15 Pro winner is karn
You can be too a winner! Become the top poster of the week and win valuable prizes.  More details are You are not allowed to view links. Register or Login 

Main Menu

Let Windows take care of your scheduling

Started by charleychacko, October 15, 2006, 11:07:34 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

charleychacko

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 /?