idleSettingsType Complex Type
Article 12/11/2020
3 contributors
Feedback
In this article
Defines the child elements and sequencing information for the IdleSettings (settingsType) element.
<xs:complexType name="idleSettingsType">
<xs:all>
<xs:element name="Duration"
default="PT10M"
minOccurs="0"
>
<xs:simpleType>
<xs:restriction
base="duration"
>
<xs:minInclusive
value="PT1M"
/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="WaitTimeout"
default="PT1H"
minOccurs="0"
>
<xs:simpleType>
<xs:restriction
base="duration"
>
<xs:minInclusive
value="PT1M"
/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="StopOnIdleEnd"
type="boolean"
default="true"
minOccurs="0"
/>
<xs:element name="RestartOnIdle"
type="boolean"
default="false"
minOccurs="0"
/>
</xs:all>
</xs:complexType>
Child elements
Element
Type
Description
Duration
Specifies the amount of time allowed to start the task while in an idle condition.
RestartOnIdle
boolean
The task is restarted as soon as an idle condition starts.
StopOnIdleEnd
boolean
Specifies that the task is terminated if the idle condition ends before the idle duration is exceeded.
WaitTimeout
Specifies the amount of time to wait for an idle condition to start. If no value is specified for this element, then the Task Scheduler service will wait indefinitely for an idle condition to occur.
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 Complex Types
Task Scheduler