Previous Topic: Premend JobsNext Topic: Mark a Job Overdue if It Starts Late


Delay Job Submission

You can delay job submission by specifying a job submission time. You can also delay the submission of a job for a number of minutes after it is eligible to run.

Follow these steps:

  1. Open the Application in the Define perspective.

    The Application appears in the workspace.

  2. Right-click the job in the workspace, and select Edit from the pop-up menu.

    The Basic page of the job definition dialog opens.

  3. Click Time Dependencies in the left pane.

    The Time Dependencies page opens in the right pane.

  4. Complete one of the following fields:
    Do not submit before

    Specifies the job's submission time. The server delays submission of the job until this time.

    Note: To select a time, click the button to the right of the field and select the time from the Time Selection dialog.

    Delay submission when eligible by

    Specifies the number of minutes the server waits to submit a job after it is eligible to run.

    Default: 0 minutes

    Limits: 0-255 minutes

  5. Click OK.

    The server delays the job submission as specified.

Example: Delay a Job Until 6 p.m.

Suppose that an Application runs each day at 4 p.m., but a particular job (LATE) within the Application must wait until 6 p.m. An Event is scheduled to run the Application daily at 4 p.m. Job LATE has an early submission time of 6 p.m.

To delay a job until 6 p.m.

  1. Open the Application in the Define perspective.

    The Application appears in the workspace.

  2. Right-click job LATE in the workspace, and select Edit from the pop-up menu.

    The Basic page of job LATE opens.

  3. Click Time Dependencies in the left pane.

    The Time Dependencies page opens in the right pane.

  4. Enter 6pm in the Do not submit before field and click OK.

    Job LATE waits until 6 p.m. before running even if job LATE's other dependencies are met before 6 p.m.

Example: Submit a Job at Different Times During the Month

On the last workday of the month, a job runs after 9 p.m. The rest of the month, the job runs after 6 p.m.

The %IF statement for the job's Do not submit before field is as follows:

%IF(today('last workday of month'),'9pm','6pm')

The today JavaScript built-in function returns true if today is the last workday of the month; otherwise, it returns false.

Note: For more information about JavaScript expressions and built-in functions, see the Programming Guide.

Example: Delay a Job by 30 Minutes

Job A releases job B in an Application. You want job B to run 30 minutes after job A completes.

To delay a job by 30 minutes after it is eligible to run

  1. Open the Application in the Define perspective.

    The Application appears in the workspace.

  2. Right-click job B in the workspace, and select Edit from the pop-up menu.

    The Basic page of job B opens.

  3. Click Time Dependencies in the left pane.

    The Time Dependencies page opens in the right pane.

  4. Enter 30 in the Delay submission when eligible by field and click OK.

    After job A completes, Job B waits for 30 minutes before running.

More information:

Job Submission Time