ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

How to force the start of a job at the end of run_window period ?


Article ID: 38336


Updated On:


CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) Workload Automation Agent



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.



Workload Automation AE (AutoSys) any release



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/

machine: localhost

date_conditions: y

run_window: "8:00-12:00"

condition: done(fw1)       < ======

 alarm_if_fail: y




Release: ATSYHA99000-11.3.6-Workload Automation AE-High Availability Option