Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Autosys R11 job dependency with dependent-job run-time condition

In Autosys R11, I need job_b to run only if job_a succeeded within the last X hours. Apparently, R11 allows you to "set look back dependencies on job_a to only run if job_c has ran to S within X hours." What would be the syntax?

s(job_a)

What would I add if I want my job to run only if job_a succeeded within the last 12 hours, for example?

like image 375
anomal Avatar asked May 30 '12 23:05

anomal


People also ask

How do I add dependents to AutoSys?

Example: Create a Dependent Command Job Run the job only if the file watcher job named EOD_watch completes with a SUCCESS status. Source the /etc/auto. profile file (AutoSys Workload Automation sources this file by default), and run the POST job that is located in the home directory of the job owner.

What is condition D in AutoSys?

'd' (done) Indicates that the job you are defining may run when the job specified within the condition completes with a status of SUCCESS, FAILURE, or TERMINATED.

What is AutoSys lookback condition?

a time condition tells the successor to run again at 1:00 however 12:01 is more recent than 12:00 and lookback 0 does not validate. If the predecessor runs again at 1:30 then 1:30 is more recent than 12:01 and lookback 0 will then validate and start the second job.

Which command is used to check the dependencies of an AutoSys job?

You can use the job_depends command to list a jobs dependancies, the documentation for which can be found here: https://docops.ca.com/ca-workload-automation-ae/11-4-2/en/reference/ae-commands/monitor-and-report-on-workload/job_depen…


1 Answers

Should be

condition: success(job_a,12.00)

status(job_name, hhhh.mm)

like image 104
clmccomas Avatar answered Nov 09 '22 06:11

clmccomas