Content deleted Content added
→Task Scheduler 2.0: fix cite web |
→Other features: define tasks |
||
Line 22:
* Ability to wake up a machine remotely or using [[BIOS]] timer from sleep or hibernation to execute a scheduled task or run a previously scheduled task after a machine gets turned on.
* Ability to attach ''tasks'' to ''events'' directly from the [[Event Viewer]].
==Tasks==
The Task Scheduler service works by managing ''Tasks''; ''Task'' refers to the action (or actions) taken in response to trigger(s). A task is defined by associating a set of actions, which can include launching an application or taking some custom-defined action, to a set of triggers, which can either be time-based or event-based. In addition, a task also can contain metadata that defines how the actions will be executed, such as the security context the task will run in. Tasks are serialized to <code>.job</code> files and are stored in the [[Special folders|special folder]] titled ''Task Folder'', organized in subdirectories. Programmatically, the task folder is accessed using the <code>ITaskFolder</code> interface or the <code>TaskFolder</code> scripting object and individual tasks using the <code>IRegisteredTask</code> interface or <code>RegisteredTask</code> object.<ref>{{cite web | url = http://msdn2.microsoft.com/en-us/library/aa382589.aspx | title = Tasks (Windows) | publisher = [[MSDN]] | accessdate = 2007-10-06}}</ref>
==See also==
|