This is designed to be used with the schedules:broken's alternative property to move processing to the day after the holiday.
An alternative to this schedule may be to use the schedules:after.
| refinement | Provide a refinement to this schedule. |
| Example 1 | A schedule for the last day of the month, or the next working day if the last day of the month falls on a non working day. |
| Configured By | ELEMENT |
| Access | READ_WRITE |
| Required | No. |
Provide a refinement to this schedule.
A schedule for the last day of the month, or the next working day if the last day of the month falls on a non working day.
<schedules:broken xmlns:schedules="http://rgordon.co.uk/oddjob/schedules">
<schedule>
<schedules:monthly onDay="LAST">
<refinement>
<schedules:time at="17:00"/>
</refinement>
</schedules:monthly>
</schedule>
<breaks>
<schedules:list>
<schedules>
<schedules:weekly from="SATURDAY" to="SUNDAY"/>
<value value="${holidays}"/>
</schedules>
</schedules:list>
</breaks>
<alternative>
<schedules:day-after>
<refinement>
<schedules:time at="08:00"/>
</refinement>
</schedules:day-after>
</alternative>
</schedules:broken>
Note that the refinement schedules for a different time when the day after is
used. This reflects the situation where data is often available earlier after
a weekend or holiday.