RunOnlyIfIdle (settingsType) Element

Specifies that the task is run only when the computer is in an idle state.

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

The RunOnlyIfIdle 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

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

For script development, see TaskSettings.RunOnlyIfIdle.

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