Previous Topic

Next Topic

Book Contents

Book Index

Cyclic Job example

The following example describes how to schedule a cyclic Job. Let's assume a Job that updates flight times for an airline should cycle through every 3 minutes from the end of the previous run. If for some reason it fails, it should trigger an alternative flight update program, shout a message to the administrator, and stop running. Select the Job/Folder you want to schedule in the Workspace.

  1. Select the Job/Folder you want to schedule in the Workspace.

    The Job properties pane appears on the right.

  2. Click WCM_Edit_New.

    The Job properties are enabled for definition.

  3. Select the Scheduling tab.

    The Scheduling parameters appear.

  4. In the Rerun settings area, click the Cyclic button to enable it.
  5. From the Rerun drop-down list, select Interval, and set it to every 3 minutes from Job's end.
  6. In the Maximum Rerun field, set the value to 99.
  7. Select the Actions tab, add an On-do Actions statement and do the following:
    1. From the On drop-down list, select Job ended Not OK.
    2. From the Do drop-down list, select Order Job. In the Folder field, type Flight, in the Job name field, type AltUpdate, from the Date drop-down list select Order Date.
    3. Click Add Do.
    4. From the Do drop-down list, select Notify. In the Destination field, select Alerts Window, in the Urgency field select Very Urgent, and in the message field type failure in flight update Job.
    5. Click Add Do.
    6. From the Do drop-down list, select Stop Cyclic run.

Parent Topic

Scheduling examples