If the 'to' time is less than the 'from' time it is assumed that the 'to' time is the next day.
| at | The time at which this schedule is for. |
| from | The from time. |
| refinement | Provide a refinement to this schedule. |
| to | The to time. |
| Example 1 | A simple daily schedule. |
| Example 2 | Using an interval with a daily schedule to schedules something every 15 minutes between 10pm and 4am. |
| Configured By | ATTRIBUTE |
| Access | WRITE_ONLY |
| Required | No. |
The time at which this schedule is for. This has the same effect as setting from and to to the same thing.
| Configured By | ATTRIBUTE |
| Access | READ_WRITE |
| Required | No. Default to the start of the day. |
The from time.
| Configured By | ELEMENT |
| Access | READ_WRITE |
| Required | No. |
Provide a refinement to this schedule.
| Configured By | ATTRIBUTE |
| Access | READ_WRITE |
| Required | No. Default to the end of the day. |
The to time.
A simple daily schedule. Used with a scheduling:timer this would run a job every day at 10am.
<schedules:daily at="10:00" xmlns:schedules="http://rgordon.co.uk/oddjob/schedules"/>
Using an interval with a daily schedule to schedules something every 15 minutes between 10pm and 4am. The end time is 03:50 yet the last interval is 03:45 to 04:00 because the interval starts before the end time.
<schedules:daily from="22:00" to="03:50" xmlns:schedules="http://rgordon.co.uk/oddjob/schedules">
<refinement>
<schedules:interval interval="00:15"/>
</refinement>
</schedules:daily>