Task Scheduler for developers
This topic and the other topics in this section are for a developer audience. If you're wishing to use the the Task Scheduler component in your capacity as an administrator, or an IT Professional, then see Task Scheduler.
About the Task Scheduler
The Task Scheduler enables you to automatically perform routine tasks on a chosen computer. Task Scheduler does this by monitoring whatever criteria you choose (referred to as triggers) and then executing the tasks when those criteria are met.
You can use the Task Scheduler to execute tasks such as starting an application, sending an email message, or showing a message box. Tasks can be scheduled to execute in response to these events, or triggers.
- When a specific system event occurs.
- At a specific time.
- At a specific time on a daily schedule.
- At a specific time on a weekly schedule.
- At a specific time on a monthly schedule.
- At a specific time on a monthly day-of-week schedule.
- When the computer enters an idle state.
- When the task is registered.
- When the system is booted.
- When a user logs on.
- When a Terminal Server session changes state.
The Task Scheduler provides APIs in these forms.
- Task Scheduler 2.0: interfaces and objects are provided for C++, and for scripting development, respectively.
- Task Scheduler 1.0: interfaces are provided for C++ development.
The Task Scheduler requires the following operating systems.
- Task Scheduler 2.0: Client requires Windows Vista, or above. Server requires Windows Server 2008, or above.
- Task Scheduler 1.0: Client requires Windows Vista, or Windows XP. Server requires Windows Server 2008, or Windows Server 2003.
In this section
|What's new in Task Scheduler||Summary of new functionality introduced by the Task Scheduler.|
|About the Task Scheduler||General conceptual information about the Task Scheduler API.|
|Using the Task Scheduler||Code examples that show how to use the Task Scheduler APIs.|
|Task Scheduler reference||Detailed reference information for Task Scheduler APIs and the Task Scheduler schema.|