Example: Defining a cyclic job

This example describes how to define a job that updates flight times for an airline to cycle every 3 minutes from the end of the previous run. If for some reason it fails, trigger an alternative flight update program, notify the administrator, and stop running.

To define a cyclic job:

  1. From the Scheduling tab, in Schedule drop-down list, select None (Manual Order).
  2. In the Rerun Settings section, select Cyclic, and click Set .
  3. Select Rerun using the following interval sequence.
  4. Click Add_Parameter.
  5. In the Unit column, select Minutes.
  6. In the Amount column, select 3.
  7. In the All Intervals are from the Job's drop-down, select end.
  8. Click More.
  9. In the Limit the number of reruns to field, select 99.
  10. In the Actions tab, create an On Do Action by doing the following:
    1. In the OnDo Actions area, click Add_Parameter.

      The On/Do window appears.

    2. In the When field, select Job ended Not OK.
    3. In the Do field, select Order Job.
    4. In the Folder field, select flight.
    5. In the Job Name field, select AltUpdate.
    6. In the Date field, select Order Date.
    7. Click AddDo and in the Do field that appears, select Notify.
    8. In the Destination field, select Alerts Window.
    9. In the Message field, type Failure in flight update job.
    10. In the Urgency field, select, Very Urgent.
    11. Click AddDo, and in the Do field that appears, select Stop Cyclic run.
    12. In the On/Do window (Edit Mode), click OK.

    The job properties are set.

  11. To determine the maximum number of days the job can remain in the Monitoring domain after the Order Date has passed, if the job has not yet been submitted, set the Allow submission for parameter in the Scheduling tab.

Parent Topic

Job definition