Using Scheduled Tasks
Using Scheduled Tasks, you can schedule any script, program, or document to run at a time that is most convenient for you. Scheduled Tasks starts each time you start Windows 2000, and runs in the background. Using the Scheduled Task wizard (available by double-clicking Scheduled Tasks in Control Panel, and then double-clicking Add Scheduled Tasks), you can schedule a task to run daily, weekly, or monthly, change the schedule for a task, and customize how a task runs at a scheduled time.
Open Scheduled Tasks in Control Panel.
- To open Task Scheduler, click Start, point to Settings, click Control Panel, and then double-click Scheduled Tasks.
- If you want to configure advanced settings for the task, select the Open advanced properties for this task when I click Finish check box in the final page of the wizard.
- Confirm that the system date and time on your computer are accurate, as Task Scheduler relies on this information to run scheduled tasks. To verify or change this information, double-click the time indicator on the taskbar.
To schedule a new task
- Open Task Scheduler
- Double-click Add Scheduled Task.
- Follow the instructions in the Scheduled Task wizard.
To modify a scheduled task
- Open Task Scheduler
- Right-click the task you want to modify, and then click Properties.
- Do one or more of the following:
- To change the program being run, in Run, type the path for the new program.
- To change the schedule for the task, click the Schedule tab.
- To customize the settings for the task, click the Settings tab.
- To set security for the task, click the Security tab.
An Example of a Scheduler Setup
- To open Task Scheduler, click Start, point to Settings, click Control Panel, and then double-click Scheduled Tasks.
- If you change the user account or the program that is being run, you must supply the password for the user account.
- If the task program requires command-line options, type them in Run, after the task path.
- If the path to the task program includes spaces, type double quotation marks (“”) around the entire task path. For example:
“C:\Program Files\Windows Media Player\Mplayer2.exe”
- Confirm that the system date and time on your computer are accurate, as Task Scheduler relies on this information to run scheduled tasks. To verify or change this information, double-click the time indicator on the taskbar.
To remove a scheduled task
- Open Task Scheduler
- Right-click the task that you want to remove, and then click Delete.
To pause Task Scheduler
- Open Task Scheduler
- On the Advanced menu, click Pause Task Scheduler.
- The Pause Task Scheduler command is useful if you do not want scheduled tasks to run at the same time you are installing software or running another program (such as a game).
- Tasks that are scheduled to run while Task Scheduler is paused are not run until their next scheduled time.
- To resume the schedules for all tasks, on the Advanced menu, click Continue Task Scheduler.
To stop a scheduled task that is running
- Open Task Scheduler
- Right-click the task that you want to stop, and then click End Task.
- If a scheduled task is started and then stopped, End Task does not stop all other programs that the scheduled task may have started.
- If you stop a scheduled task that is currently running, you may experience a delay (up to 3 minutes) before the task shuts down.
- To restart a stopped task, right-click the task, and then click Run.
To receive notification of missed tasks
- Open Task Scheduler
- On the Advanced menu, click Notify Me of Missed Tasks.
- A check mark next to Notify Me of Missed Tasks indicates that the service is turned on. You can click Notify Me of Missed Tasks again to clear the check mark and turn off the service.
- You must be a member of the Administrators group to set this option.
To view a log of past scheduled tasks
- Open Task Scheduler
- On the Advanced menu, click View Log.
- The default log file for Task Scheduler is stored in the \Winnt folder and is named SchedLog.txt
- The default log file size is 32 kilobytes.
- When the log file reaches its maximum size, it automatically starts recording new information at the beginning of the log file and writes over old log file information.
Notice: Windows® 95, Windows® 98, Windows® NT, Windows® 2000 and
Microsoft® Office are registered trademarks or trademarks of the Microsoft Corporation.