days_of_week: tu runs EVERY Tuesday. It can't express first or last.
Use an extended calendar with a date condition: TUE#1 = first Tuesday, FRI#L = last Friday.
Combine with & (and) and | (or): (JAN&TUE#1)|(JUL&TUE#1) = first Tuesday of January and July (half-yearly).
Attach a holiday calendar and set the holiday action (skip, or move to a workday).
Create it with autocal_asc or in the web UI, then set run_calendar on the job with date_conditions: 1.
Check the generated dates before relying on it.
✦ Definition~90s read
What is AutoSys?
An AutoSys extended calendar is a calendar defined by a rule instead of a list of dates. Date condition keywords such as TUE#1 (first Tuesday of the month) and FRI#L (last Friday) generate the run dates, and a holiday calendar plus a holiday action decides what happens when a rule lands on a holiday. A job uses it through run_calendar.
★
days_of_week is a standing order: "every Tuesday".
Plain-English First
days_of_week is a standing order: "every Tuesday". An extended calendar is a rule: "the first Tuesday of each month, but not on a bank holiday". AutoSys works out the dates for you.
A month-end close that should run on the first Tuesday ran five times in December, because days_of_week: tu means every Tuesday. AutoSys extended calendars handle first, last and nth-weekday rules, and holidays. This guide shows the rules and how to attach one to a job.
Why days_of_week Isn't Enough
days_of_week: tu selects every Tuesday. Months have four or five, so a 'monthly' job defined this way runs four or five times.
wrong.jilJIL
1
2
3
4
update_job: MONTH_CLOSE
date_conditions: 1
days_of_week: tu
start_times: "06:00" # every Tuesday
🎯 Key Takeaway
days_of_week = every matching weekday.
Extended Calendar Rules
Date condition keywords pair a weekday with an ordinal. #1 is the first, #L is the last. Combine terms with & and |, and with month names to limit the months.
rules.txtTEXT
1
2
3
TUE#1 first Tuesday of every month
FRI#L last Friday of every month
(JAN&TUE#1)|(JUL&TUE#1) first Tuesday of January and July
🔥Check your version
Keywords and options vary slightly by AutoSys version; check the date condition keywords page for yours.
🎯 Key Takeaway
TUE#1, FRI#L, (JAN&TUE#1)|(JUL&TUE#1).
Holidays
A rule can land on a holiday: the last Friday of December 2026 is the 25th. Attach a holiday calendar and set the holiday action to skip the run or move it to a workday.