Hello All,
The requirement we have here is,
job_b runs every 2 hours and takes around 1.5hrs to complete and now the job_b needs to have a predecessor (job_a) which runs Sunday 22:00.
the requirement here is if job_a continues to run Monday morning beyond 04:30 am and doesn't complete before 05:00 am, the job_b job should skip its 04:30 run and run from its next scheduled run, so on if the predecessor job is still running beyond 06:30am run and doesn't complete before 07:00am it should skip 06:30am run and pick its next schedule.
Looking for advice to schedule the job_b as per the requirement
insert_job: Job_A job_type: CMD
command: abcd.sh
machine: test
owner: test
permission:
date_conditions: 1
days_of_week: su
start_times: "22:00"
alarm_if_fail: 1
insert_job: Job_B job_type: CMD
command: abcd.sh
machine: test
owner: test
permission:
date_conditions: 1
days_of_week: mo,tu,we,th,fr
start_times: "04:30,06:30,8:30,10:30,12:30,14:30"
condition: s(Job_A)
alarm_if_fail: 1