Cron expressions, explained
A cron expression is five fields separated by spaces that tell a scheduler when to run a job. Find the schedule you need below, copy it, and check the platform notes before you deploy: GitHub Actions, Kubernetes, AWS and Vercel don't all read cron the same way.
The five fields
| Position | Field | Allowed values |
|---|---|---|
| 1 | Minute | 0-59 |
| 2 | Hour | 0-23 |
| 3 | Day of month | 1-31 |
| 4 | Month | 1-12 or JAN-DEC |
| 5 | Day of week | 0-6 or SUN-SAT |
Common schedules
*/5 * * * *Every 5 minutes0 * * * *Every hour, on the hour0 0 * * *Every day at midnight0 9 * * 1-5Weekdays at 9:000 0 1 * *First day of every month at midnight0 0 * * 0Every Sunday at midnight