Fields by dialect
Unix, Kubernetes, GitHub Actions and Jenkins: minute hour day-of-month month day-of-week. Quartz: second minute hour day-of-month month day-of-week [year]. Spring: second minute hour day-of-month month day-of-week. AWS EventBridge: cron(minute hour day-of-month month day-of-week year). systemd uses a different calendar syntax: weekday year-month-day hour:minute:second.
Weekday numbering: Unix and Spring use 0–7 with both 0 and 7 as Sunday; Kubernetes and GitHub 0–6; Quartz and AWS 1–7 with SUN=1. Names (SUN–SAT, JAN–DEC) avoid the confusion and work everywhere except where noted.
Operators
* any value · , list · - range · /n step (from the start of the range) · ? no specific value (Quartz/AWS day fields) · L last (day of month, or nL for the last weekday n) · W nearest weekday · # nth weekday (MON#2) · H hash (Jenkins only) · @yearly @monthly @weekly @daily @hourly macros (Unix, Spring, Jenkins; @reboot Unix only; @every Kubernetes).
Try these
0 0 12 L * ?L — last day0 0 9 15W * ?W — nearest weekday0 0 9 ? * 2#2# — second MondayH H(0-6) * * *H — Jenkins hash
Questions
Is this page available offline?
After the app has been installed or loaded once and the service worker has cached it, the cheat sheet and the checker work without a network connection. The page shows when offline mode is ready.
What does 0/15 mean versus */15?
Both mean every 15 starting at 0 in Quartz, Spring, AWS and Kubernetes. Unix cron does not reliably accept 0/15; write */15 or 0-59/15.