AutoSys Workload Automation

 View Only

How to create a Autosys job that should on every 40th Business day , exclude Saturday and Sunday and Holiday

  • 1.  How to create a Autosys job that should on every 40th Business day , exclude Saturday and Sunday and Holiday

    Posted Jun 18, 2021 07:42 AM
    I have a Scenario where I want to create a Autosys Job Scheduling by following below conditions
    Note : I have exclude calendar - Which as Holiday dates in it 

    Conditions :
    • If 40th business day falls on Saturday or Sunday then Job should run on working day [ Monday ]
    • If 40th business day falls on Holiday date [ include exclude calendar ] then Job should run on next working day 
    • This is complex scenario this should also be covered : example : If 40th Business day falls on Friday [ which is holiday as per exclude calendar ] then Job should run on Mon [ which is a working day]
    • This is complex scenario this should also be covered : example : If 40th Business day falls on Friday [ which is holiday as per exclude calendar ] and on Monday also Holiday as per exclude holiday date then Job should run on Tuesday [ which is a working day ] 

    Any solution how to achieve above will be very helpful 

    calendar: DAY_OF_MONTH_HOLIDAYS

    description:

    02/06/2016 00:00

    02/07/2016 00:00

    02/13/2016 00:00

    02/14/2016 00:00

    02/20/2016 00:00

    02/21/2016 00:00

    02/27/2016 00:00

    02/28/2016 00:00

    03/05/2016 00:00

    03/06/2016 00:00

    03/12/2016 00:00

    03/13/2016 00:00

    03/19/2016 00:00

    03/20/2016 00:00

    03/25/2016 00:00

    03/26/2016 00:00

    03/27/2016 00:00

    03/28/2016 00:00

      
    My Scheduling
    extended_calendar: QUARTER_START_40_PLUS
    workday: mo,tu,we,th,fr
    non_workday: W
    holiday: W
    holcal:
    cyccal: 
    adjust: 39
    condition: jan#1|apr#1|jul#1|oct#1
    description: Runs on 40th day after start of quarter, incase its a sat or sun job runs on next mon