RunOnlyIfIdle (settingsType) Element

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

<xs:element name="RunOnlyIfIdle"

The RunOnlyIfIdle element is defined by the settingsType complex type.

Parent element

ElementDerived fromDescription
Settings settingsType

Contains the settings that the Task Scheduler uses to perform the task.


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

For script development, see TaskSettings.RunOnlyIfIdle.


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