Search code examples
scheduled-tasksschedulingschedulerjob-schedulingautosys

AutoSys Job multiple dependencies issue: s(1) & s(2) & s(3)


I got 4 jobs: 1, 2, 3, 4.

2's condition: s(1); 3's condition: s(2); 4's condition: s(1) & s(2) & s(3)

all these jobs are daily jobs

the first day is ok. the second day, the 4th job triggered mutilple times:

I think when 1 success, and the status of 2 and 3 are still 'success'(the last days status), so the job 4 triggered,

then 2 success, triggered again...

so is there any solution for this? becase I only want these condition is based on the current day's result.


Solution

  • This is already answered on stackoverflow.com The solution depends on the version of Autosys you are using. If it is R11, the newest version, you can set look back dependencies on job_a to only run if job_c has ran to S within X hours.

    Full answer here: Autosys dependency on mainframe job