Cron Expression Cheat Sheet: Unix, Quartz, Kubernetes and Timezones
Quick guide to 5-field and 6-field cron syntax, step operators, weekday ranges, and daylight saving time edge cases.
Updated 2026-11-28
5-field Unix cron layout
Standard Unix cron reads left to right: `minute (0-59) hour (0-23) day-of-month (1-31) month (1-12) day-of-week (0-6)`. Operators include `*` (every), `,` (list), `-` (range), and `/` (step, e.g. `*/15`).
Timezone and DST traps
Running a job at `30 2 * * *` in a local timezone with Daylight Saving Time can skip an execution during spring-forward or fire twice during fall-back. Prefer `UTC` for server schedules whenever possible.
Dialect differences
GitHub Actions and standard crontab use 5 fields in UTC. Quartz and Spring add a leading seconds field (6 fields). Kubernetes CronJobs support an optional `spec.timeZone` field.