Windows Task Scheduler: Difference between revisions

Content deleted Content added
mNo edit summary
Line 47:
 
===Task Scheduler 2.0===
Task Scheduler 2.0 was introduced with [[Windows Vista]]<ref>{{cite book|author1-first=Robert|author1-last=Cowart|author2-first=Brian|author2-last=Knittel|year=2008|title=Special Edition Using Microsoft Windows Vista|publisher=[[Que Publishing]]|isbn=978-0789737816}}</ref> and included in [[Windows Server 2008]] as well.<ref>{{cite book|
author1-first=Adrian|author1-last=Kingsley-Hughes|author2-first=Kathie|author2-last=Kingsley-Hughes|author3-first=Daniel |author3-last=Read|year=2011|title=VBScript Programmer's Reference|publisher=[[John Wiley & Sons]]|isbn=978-1118058695}}</ref><ref name="about"/> The redesigned Task Scheduler user interface is now based on [[Microsoft Management Console|Management Console]]. In addition to running tasks on scheduled times or specified intervals, Task Scheduler 2.0 also supports calendar and event-based triggers, such as starting a task when a particular event is logged to the ''event log'', or when a combination of events has occurred. Also, several tasks that are triggered by the same event can be configured to run either simultaneously or in a pre-determined chained sequence of a series of actions, instead of having to create multiple scheduled tasks. Tasks can also be configured to run based on system status such as being idle for a pre-configured amount of time, on startup, logoff, or only during or for a specified time. [[XPath]] expressions can be used to filter events from the [[Windows Event Log]]. Tasks can also be delayed for a specified time after the triggering event has occurred, or repeat until some other event occurs. Actions that need to be done if a task fails can also be configured. The actions that can be taken in response to triggers, both event-based as well as time-based, not only include launching applications but also take a number of custom actions. Task Scheduler includes a number of actions built-in, spanning a number of applications; including send an e-mail, show a message box, or fire a [[Component Object Model|COM]] handler when it is triggered. Custom actions can also be specified using the Task Scheduler API. Task Scheduler keeps a history log of all execution details of all the tasks.<ref name="taskscheduler">{{cite web
|url=http://www.microsoft.com/technet/windowsvista/mgmntops/taskschd.mspx
|title=Windows Vista Task Scheduler