count

Description

This schedule returns up to count number of child schedules. It is typically used to count a number intervals for re-trying something, But could be used to count the first n days of the month for instance.

The count will be reset if the end interval changes, i.e. when counting n days of the month, and the month moves on. However in the retry situation to reset the count schedule it would need to be reset.

If the nested schedule isn't specified it defaults to now

Properties

NameDescriptionRequired
count The number to count to. Yes.

Example

This would shcedule a job 5 times at intervals of 15 minutes.

 <count count="5">
   <interval interval="00:15"/>
 </count>
 


(c) Rob Gordon 2005