问题
I have tried with Jan MNTHD#1.... |Jan MNTHD#14|Apr MNTHD#1... so on, but autosys has date condition limitation for 255 chars. Can you please suggest me.
回答1:
Autosys CYCLE and EXTENDED CALENDAR can he helpful here.
Step 1: Create a CYCLE, to define a range.
cycle: YEARLY_QUARTER
start_date: 01/01/1972
end_date: 01/14/1972
start_date: 04/01/1972
end_date: 04/14/1972
start_date: 07/01/1972
end_date: 07/14/1972
start_date: 10/01/1972
end_date: 10/14/1972
Note: To set the cycle to repeat every year, omit the year or select the year "1972"
Step 2: Create an extended calendar based on this cycle.
extended_calendar: FIRST_14_QUARTER
workday:
non_workday:
holiday: S
holcal:
cyccal: YEARLY_QUARTER
adjust:
condition: CYCLE
This will include all the days of the cycle and run each day irrespective of holiday or non working day.
Also, you can increase the range of the cycle and then change the condition of the extended calendar accordingly.
Good Luck.
来源:https://stackoverflow.com/questions/62428178/how-to-configure-autosys-extended-calendar-to-run-for-first-14-days-in-every-qua