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
Element | Derived from | Description |
---|---|---|
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
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |