You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

We need to be able to define a repeat job that does not go beyond a specific date i.e. does not repeat forever

For example, what if I wanted a job that would repeat until, say, 01/01/2013?

First of all, you need to work with schedules. Schedules are run_times that have a name and can be referenced from jobs or orders.

Create a NeverRun schedule which has a single start in the past, so it will never run. See attached file NeverRun.schedule.xml.
Assign this Schedule to your job or order (edit the runtime, remove everything, so that you just have <run_time schedule="NeverRun"/>.

Now here's an extraordinary feature: schedules can be replaced by other schedules for a certain period. So you can create your repeat schedule which will replace the NeverRun schedule until 01/01/2013. See attached file Repeat.schedule.xml

  • No labels