title | description | ms.assetid | keywords | topic_type | api_name | api_type | ms.topic | ms.date | api_location | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
StopOnIdleEnd (idleSettingsType) Element |
Specifies that the Task Scheduler will stop the task if the idle condition ends before the task is completed. |
5e8e4fd9-bba1-4ede-a0b3-9f50feb1b6f3 |
|
|
|
|
reference |
05/31/2018 |
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.
Element | Derived from | Description |
---|---|---|
IdleSettings | idleSettingsType | Specifies how the Task Scheduler performs tasks when the computer is in an idle state. |
For C++ development, see StopOnIdleEnd Property of IIdleSettings.
For script development, see IdleSettings.StopOnIdleEnd.
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>
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |