Content deleted Content added
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 name="VBSPR">{{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
Line 71:
| archive-url = https://web.archive.org/web/20071226223747/http://msdn.microsoft.com/msdnmag/issues/07/10/WindowsCPP/
| archive-date = December 26, 2007
}}</ref> It consists of 42 [[Component Object Model|COM]] [[Interface (computing)|interfaces]].<ref>{{Cite web|url = https://msdn.microsoft.com/en-us/library/aa383600%28v=vs.85%29.aspx|title = Task Scheduler 2.0 Interfaces|access-date = 30 May 2014|website = [[MSDN]]|publisher = [[Microsoft]]}}</ref> The Windows API does not, however, include a [[Managed code|managed]] wrapper for Task Scheduler though an open source implementation exists.<ref>{{Cite web|url=https://stackoverflow.com/questions/3977801/c-sharp-api-for-task-scheduler-2-0|title=C# API for Task Scheduler 2.0|website=Stack Overflow|access-date=2019-07-24}}</ref> The job files for Task Scheduler 2.0 are [[XML]]-based, and are human-readable, conforming to the ''Task Scheduler Schema''.<ref name="VBSPR" /><ref name="kerr"/>
====Other features====
|