Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Specifies the amount of time between each restart of the task. The format for this string is P<days>DT<hours>H<minutes>M<seconds>S
(for example, "PT5M" is 5 minutes, "PT1H" is 1 hour, and "PT20M" is 20 minutes). The maximum time allowed is 31 days, and the minimum time allowed is 1 minute.
<xs:element name="Interval">
<xs:simpleType>
<xs:restriction
base="duration"
>
<xs:minInclusive
value="PT1M"
/>
<xs:maxInclusive
value="P31D"
/>
</xs:restriction>
</xs:simpleType>
</xs:element>
The element is defined by the repetitionType complex type.
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. |
For scripting development, the interval of the repetition pattern is specified using the RepetitionPattern.Interval property.
For C++ development, the interval of the repetition pattern is specified using the IRepetitionPattern::Interval property.
For a complete example of the XML for a task that uses a repetition interval, see Daily Trigger Example (XML).
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today