AutoSys Workload Automation

 View Only
  • 1.  Job running beyond run_window

    Posted Apr 10, 2025 01:27 AM
    Edited by Tony Beeston Apr 10, 2025 03:22 AM

    Hi,

    Below is the jil of my Box. the box runs at 9 PM, 9:10 PM also which should not be the case per Jil run_window. 

    My understanding is, it will run only day time 1 AM to 12 PM every 5 min and should not run after 12 PM.

    Please advise.

    insert_job: RPT_EXTRACT_SEC_BOX   job_type: BOX 
    owner: rptapp
    permission: 
    date_conditions: 1
    days_of_week: mo,tu,we,th,fr,sa
    start_mins: 00,05,10,15,20,25,30,35,40,45,50,55
    run_window: "01:00-12:00"
    condition: v(FLAG) = "no"
    box_success: s(RPT_load) | e(RPT_fw) = 1
    description: "Report Box"
    job_terminator: 1
    alarm_if_fail: 1
    alarm_if_terminated: 1
    timezone: GMT

    Thanks,

    Veera V



  • 2.  RE: Job running beyond run_window
    Best Answer

    Posted Apr 10, 2025 06:01 AM

    due to GMT specified in timezone: GMT and running server is EDT, job triggered 9 PM. 

    This is self addressed. 




  • 3.  RE: Job running beyond run_window

    Broadcom Employee
    Posted Apr 11, 2025 09:13 AM

    Hi Veera,

    From the documentation: The run_window attribute defines an interval during which the job you are defining may start. This attribute controls only when the job starts -- not when it stops.

    So, it it is 11:55 the job will start and if it runs more than 5 minutes, it will still continue to run till completion. When it ends, the next start time should be calculated to the beginning of the next start window, 1:00 of the next run_day.

    Link to the doc: https://techdocs.broadcom.com/us/en/ca-enterprise-software/intelligent-automation/autosys-workload-automation/24-0-01/reference/ae-job-information-language/jil-job-definitions/run-window-attribute-define-an-interval-for-a-job-to-start.html

    Regards,

    Mike