WakeToRun (settingsType) Element

Specifies that Task Scheduler will wake the computer when it is time to run the task.

<xs:element name="WakeToRun"
    type="boolean"
 />

The WakeToRun element is defined by the settingsType complex type.

Parent element

Element Derived from Description
Settings settingsType Contains the settings that the Task Scheduler uses to perform the task.

Remarks

When the Task Scheduler service wakes the computer to run a task, the screen may remain off even though the computer is no longer in the sleep or hibernate mode. The screen will turn on when Windows Vista detects that a user has returned to use the computer.

For C++ development, see WakeToRun Property of ITaskSettings.

For script development, see TaskSettings.WakeToRun.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]

See also

Task Scheduler Schema Elements

Task Scheduler