Issue:
A job has a run_window between 08:00 and 12:00 and will start only if a specific file arrives.
So the job is defined with a starting condition of Success on a file watcher job.
We would like to start the job at 12:00 even if the expected file is not arrived.
Environment:
Workload Automation AE (AutoSys) any release
Resolution:
The best solution is to add a “term_run_time” attribute on the predecessor file watcher job.
And to start the job on the “DONE” of the file watcher job. Example :
insert_job : fw1
job_type : FW
machine: localhost
date_conditions: y
days_of_week: all
start_times: "8:00"
watch_file: /tmp/autosys/file1.txt
term_run_time: 240 < ======
insert_job: job12
job_type: CMD
command: /tmp/autosys/scr.sh
machine: localhost
date_conditions: y
run_window: "8:00-12:00"
condition: done(fw1) < ======
alarm_if_fail: y