StopOnIdleEnd (idleSettingsType) Element

Specifies that the Task Scheduler will stop the task if the idle condition ends before the task is completed.

<xs:element name="StopOnIdleEnd"
    type="boolean"
    minOccurs="0"
    default="true"
 />

The StopOnIdleEnd element is defined by the idleSettingsType complex type.

Parent element

ElementDerived fromDescription
IdleSettings idleSettingsType

Specifies how the Task Scheduler performs tasks when the computer is in an idle state.

Remarks

For C++ development, see StopOnIdleEnd Property of IIdleSettings.

For script development, see IdleSettings.StopOnIdleEnd.

Examples

The following XML defines an idle setting that indicates the task should not be performed when the idle condition ends.


<IdleSettings>
    <StopOnIdleEnd>false</StopOnIdleEnd>
</IdleSettings>

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

See also

Task Scheduler Schema Elements

 

 

Show: