Search code examples
autosys

AutoSys job condition with success and delay


I have three jobs in a box job and want to schedule the three jobs to run one after another. job1, then job2 when job1 is in success, then job3 when job2 is in success. I also want to add a timing condition and have job2 wait 10 mins after job1 succeeded and similary for job3 to wait 10 mins after job2 succeeded. Currently I have this:

job2:
condition: s(job1)

job3: 
condition: s(job1) & s(job2) 

I am not sure how to add the 10 mins delay. Would something like this work?

condition: s(job1,00.10) & s(job2,00.10) 

Thanks!


Solution

  • no, lookback is not appropriate in this case. I'd add a sleep job between job2 and job3