[Index]

schedules:daily


A schedule for each day at, or from a given time. This schedule enables job to be scheduled daily at a particular time or a from/to time which could be used to constrain a sub schedule.

If the 'to' time is less than the 'from' time it is assumed that the 'to' time is the next day.


Property Summary

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 Summary

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.

Property Detail

at

Configured ByATTRIBUTE
AccessWRITE_ONLY
RequiredNo.

The time at which this schedule is for. This has the same effect as setting from and to to the same thing.

from

Configured ByATTRIBUTE
AccessREAD_WRITE
RequiredNo. Default to the start of the day.

The from time.

refinement

Configured ByELEMENT
AccessREAD_WRITE
RequiredNo.

Provide a refinement to this schedule.

to

Configured ByATTRIBUTE
AccessREAD_WRITE
RequiredNo. Default to the end of the day.

The to time.


Examples

Example 1

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"/>

Example 2

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>


(c) R Gordon Ltd 2005 - Present