Skip to content

Latest commit

 

History

History
76 lines (43 loc) · 2.29 KB

taskschedulerschema-waketorun-settingstype-element.md

File metadata and controls

76 lines (43 loc) · 2.29 KB
title description ms.assetid keywords topic_type api_name api_type ms.topic ms.date api_location
WakeToRun (settingsType) Element
Specifies that Task Scheduler will wake the computer when it is time to run the task.
5fb53016-5778-463d-bb32-3c1da2de6fc2
WakeToRun element Task Scheduler
apiref
WakeToRun
Schema
reference
05/31/2018

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