5-field cron syntax cheat sheet
│ ┌─────── hour (0 - 23)
│ │ ┌───── day of month (1 - 31)
│ │ │ ┌─── month (1 - 12)
│ │ │ │ ┌─ day of week (0 - 6, Sunday = 0)
* * * * *
*matches every value;*/15means every 15 units.1-5specifies an inclusive range (Monday through Friday).0,30matches multiple comma-separated values.
Frequently Asked Questions
What timezone does GitHub Actions or Cloudflare Cron Triggers use?
Cloud cron schedulers like GitHub Actions, Cloudflare Workers, and Vercel Cron evaluate schedules in UTC, whereas a Linux server crontab uses the host machine's local timezone.
Is Sunday 0 or 7 in cron?
In standard POSIX cron, 0 represents Sunday (and many parsers also accept 7 as Sunday), 1 is Monday, through 6 for Saturday.