StopAtDurationEnd (repetitionType) Element

Specifies that a running instances of the task is stopped at the end of the repetition pattern duration.

<xs:element name="StopAtDurationEnd"

The StopAtDurationEnd element is defined by the repetitionType complex type.

Parent element

ElementDerived fromDescription
Repetition repetitionType

Specifies how often the task is run and how long the repetition pattern is repeated after the task is started.


For scripting development, this setting is specified using the RepetitionPattern.StopAtDurationEnd property.

For C++ development, this setting is specified using the IRepetitionPattern::StopAtDurationEnd property.


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