schedules:last

Description

This schedule will return it's last due nested schedule within the given parent interval.

Properties

NameDescriptionRequired
refinement Provide a refinement to this schedule. No.

Example

Last Tuesday or Wednesday of the month, whichever is last.

 <schedules:dayofmonth xmlns:schedules="http://rgordon.co.uk/oddjob/schedules"
          from="-6" to="0" >
  <refinement>
   <schedules:last>
    <refinement>
     <schedules:list>
      <schedules>
       <schedules:dayofweek on="tue" />
       <schedules:dayofweek on="wed" />
      </schedules>
     </schedules:list>
    <refinement>
   </schedules:last>
  </refinement>
 </schedules:dayofmonth>
 


(c) Rob Gordon 2005 - 2009