Timer
All of the direct children of this tag are executed over and
over until the value of interval has been hit. The value of the
interval is explain in the interval attribute below.
Children Tags
Required Attributes
interval
The interval of time during which all underlying children
will be re-executed. This time can be defined with the
follow suffixes:
Value |
Description |
s |
Seconds |
h |
Hours |
d |
Days |
m |
Months |
Optional Attributes
property
property is assigned the value of the number of times the
timer has looped.
Usage Examples
Example #1
<timer interval="2s">
<component id="${agent}">
<echo>Echo on ${agent} of loop ${loop}.</echo>
</component>
</timer>
Example #2
<timer interval="2m">
<log>on loop #${loop}.</log>
</timer>