The days of the week are specified according to the ISO 8601 standard with Monday being day 1 and Sunday being day 7, or as one of MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY (case insensitive).
|from||The from day of the week.|
|on||The on day of week.|
|refinement||Provide a refinement to this schedule.|
|to||The to day of the week.|
|Example 1||A schedule for all day Tuesday.|
|Example 2||A schedule between Friday and the following Monday inclusive.|
|Required||No. Defaults to Monday.|
The from day of the week.
The on day of week. This has the same effect as setting from and to to the same thing.
Provide a refinement to this schedule.
|Required||No. Defaults to Sunday.|
The to day of the week.
A schedule for all day Tuesday. This schedule defines an interval between midnight Tuesday morning and up to midnight Tuesday night.
<schedules:weekly on="Tuesday" xmlns:schedules="http://rgordon.co.uk/oddjob/schedules"/>
A schedule between Friday and the following Monday inclusive. This schedule is refined by a time that will define the schedule to be each of the days Friday, Saturday, Sunday, Monday at 3:45pm.
<schedules:weekly from="Friday" to="Monday" xmlns:schedules="http://rgordon.co.uk/oddjob/schedules"> <refinement> <schedules:daily at="15:45"/> </refinement> </schedules:weekly>