Without either a until or a times the job will loop indefinitely.
| count | The count of repeats. |
| job | The job who's execution to schedule. |
| name | A name, can be any text. |
| times | The number of times to repeat. |
| until | Repeat will repeat until the value of this property is true. |
| Example 1 | Repeat a job 3 times. |
| Access | READ_ONLY |
| Required | Read Only. |
The count of repeats.
| Configured By | ELEMENT |
| Access | WRITE_ONLY |
| Required | Yes. |
The job who's execution to schedule.
| Configured By | ATTRIBUTE |
| Access | READ_WRITE |
| Required | No. |
A name, can be any text.
| Configured By | ATTRIBUTE |
| Access | READ_WRITE |
| Required | No. |
The number of times to repeat.
| Configured By | ATTRIBUTE |
| Access | READ_WRITE |
| Required | No. |
Repeat will repeat until the value of this property is true.
Repeat a job 3 times.
<oddjob>
<job>
<repeat times="3" id="repeat">
<job>
<echo>Hello ${repeat.count}</echo>
</job>
</repeat>
</job>
</oddjob>