StopAtDurationEnd (repetitionType) Element

Specifies that a running instance of the task is stopped at the end of the repetition pattern duration. This is applicable only if repetitions are set.

<xs:element name="StopAtDurationEnd"
 type="boolean"
 />

The StopAtDurationEnd element is defined by the repetitionType complex type.

Parent element

Element Derived from Description
Repetition repetitionType Specifies how often the task is run and how long the repetition pattern is repeated after the task is started.

Remarks

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

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

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 Elements

Task Scheduler