如何配置 Autosys Extended 日历以在每个季度的前 14 天运行 [英] How to configure Autosys Extended calendar to run for first 14 days in every quarter
问题描述
我尝试过使用 Jan MNTHD#1.... |Jan MNTHD#14|Apr MNTHD#1...等等,但 autosys 有 255 个字符的日期条件限制.你能建议我吗.
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.
推荐答案
Autosys CYCLE and EXTENDED CALENDAR can he helpful here.
第 1 步:创建一个循环,以定义一个范围.
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
注意:要将周期设置为每年重复,请省略年份或选择年份1972"
Note: To set the cycle to repeat every year, omit the year or select the year "1972"
第 2 步:根据此周期创建一个扩展日历.
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.
祝你好运.
这篇关于如何配置 Autosys Extended 日历以在每个季度的前 14 天运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!