2.5.4.2 RestartOnFailure
If the task fails to run because one of the start conditions is not met (see Settings Schema Part (section 2.5.4)) or because of a failure to start an action, the operation is attempted again. The operation attempt will continue for the number of times specified by the Count subfield and with an interval between retries specified by the Interval subfield.
-
<!-- RestartOnFailure --> <xs:complexType name="restartType"> <xs:all> <xs:element name="Interval"> <xs:simpleType> <xs:restriction base= "xs:duration "> <xs:minInclusive value="PT1M"/> <xs:maxInclusive value="P31D"/> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="Count"> <xs:simpleType> <xs:restriction base="xs:unsignedByte"> <xs:minInclusive value="1"/> </xs:restriction> </xs:simpleType> </xs:element> </xs:all> </xs:complexType>
Interval: This field is not optional and contains a time duration (see section 2.5.1.1). The duration falls in the range of 1 minute to 31 days, inclusive.
Count: This field is present and contains an integer in the range 1 to 255, inclusive.