Cron Day of Week Field

The day-of-week field (fifth in standard 5-field cron) specifies which day(s) of the week the job runs. Values are 0–6 (or 0–7 with 0 and 7 both meaning Sunday). Quartz uses named abbreviations (SUN–SAT).

Quick Reference
ValueMeaningExample
*Every day of the week0 0 * * *
1-5Monday through Friday (weekdays)0 9 * * 1-5
6,0Saturday and Sunday (weekends)0 0 * * 6,0
1Monday only0 0 * * 1
5Friday only0 17 * * 5
?No specific value (Quartz/AWS — used with day-of-month)0 0 0 1 * ?
FRI#2Second Friday of the month (Quartz only)0 0 9 ? * FRI#2

Valid Values

0

Minimum

6

Maximum

* , - / ? L #

Allowed special characters

Examples

1-5Weekdays: Monday through Friday
6,0Weekends: Saturday and Sunday
1Monday only
MON-FRINamed form — Monday through Friday (Quartz/AWS)
FRI#2Second Friday of the month (Quartz only)

Platform Support

Platforms that include the Day of Week field:

Standard Linux/UnixGitHub ActionsGoogle Cloud SchedulerKubernetes CronJobAzure Functions (NCRONTAB)AWS EventBridgeQuartz SchedulerSpring @ScheduledJenkinsApache Airflow

Frequently Asked Questions

Is Sunday 0 or 7 in cron?
Both work in most implementations. Standard cron accepts 0=Sunday and 7=Sunday interchangeably. Quartz and AWS use named abbreviations (SUN, MON...) which are unambiguous.
Why does AWS EventBridge use MON-FRI instead of 1-5?
AWS EventBridge conventionally uses named abbreviations (SUN, MON, TUE, WED, THU, FRI, SAT) for day-of-week to avoid ambiguity. Numeric values are accepted but AWS documentation uses names.
Built & maintained by Danny Vargas
Last updated January 2026·Parsing runs in your browser — no expression leaves your device