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:
The Application appears in the workspace.
The Basic page of the job definition dialog opens.
The Time Dependencies page opens in the right pane.
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.
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
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.
The Application appears in the workspace.
The Basic page of job LATE opens.
The Time Dependencies page opens in the right pane.
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
The Application appears in the workspace.
The Basic page of job B opens.
The Time Dependencies page opens in the right pane.
After job A completes, Job B waits for 30 minutes before running.
|
Copyright © 2014 CA.
All rights reserved.
|
|