schedules:dayafter

Description

A schedule that returns the day after when a nested schedule is due.

This is designed to be used for processing which happens the day after, i.e. processing previous business days data.

This is particularly useful for scheduling around holidays when a process is still required to run on the holiday, but not the day after the holiday.

Properties

NameDescriptionRequired
refinement Provide a refinement to this schedule. No.

Example

This will run at 2am Tuesday to Saturday.

 <schedules:dayafter xmlns:schedules="http://rgordon.co.uk/oddjob/schedules">
  <refinement>
   <schedules:dayofmonth from="25" to="0" >
    <refinement>
     <schedules:last>
      <refinement>
       <schedules:dayofweek from="mon" to="fri" >
        <refinement>
         <scheules:time on="02:00" /gt;
        </refinement>
       </schedules:dayofweek>
      </refinement>
     </last>
    </refinement>
   </schedules:dayofmonth>
  </refinement>
 </schedules:dayafter>
 


(c) Rob Gordon 2005 - 2009