Cron Expression Cheat Sheet & Common Schedule Examples
Standard Unix Cron expressions consist of 5 fields: minute (0–59), hour (0–23), day of month (1–31), month (1–12), and day of week (0–7, where 0 and 7 are Sunday).
| Cron Expression | Schedule | Common Use Cases |
|---|---|---|
| * * * * * | Every minute | Health checks, lightweight queue polling |
| */5 * * * * | Every 5 minutes | Uptime probes, metrics scraping, status sync |
| */15 * * * * | Every 15 minutes | External API polling, inventory sync |
| 0 * * * * | Every hour (at :00) | Hourly aggregation, cache warm-up |
| 0 */6 * * * | Every 6 hours (00, 06, 12, 18) | Periodic backups, feed ingestion |
| 0 0 * * * | Daily at 00:00 (midnight) | Daily log rotation, nightly reports |
| 30 3 * * * | Daily at 03:30 | Off-peak DB dumps, SSL renewal checks |
| 0 9 * * 1-5 | Weekdays (Mon–Fri) at 09:00 | Standup alerts, business-day reminders |
| 0 18 * * 5 | Every Friday at 18:00 | Weekly digest, timesheet reminders |
| 0 4 * * 0 | Every Sunday at 04:00 | Weekly full backups, DB VACUUM/cleanup |
| 0 0 1 * * | 1st of every month at 00:00 | Monthly invoicing, billing summaries |
| 0 9 1,15 * * | 1st & 15th of every month at 09:00 | Bi-monthly audits, maintenance notices |
| 0 0 1 1 * | Yearly on Jan 1 at 00:00 | Annual archive, license renewal alerts |
| 0 0 * * 1-5 (UTC) | Timezone reminder for Cloud/CI | GitHub Actions & AWS run in UTC by default — adjust offsets accordingly |
Practical Notes
- Field order from left to right: Minute (0–59), Hour (0–23), Day of Month (1–31), Month (1–12), Day of Week (0–7).
- GitHub Actions and most cloud schedulers evaluate Cron expressions in UTC unless a timezone is explicitly configured.
- In standard Vixie cron, specifying both Day of Month and Day of Week (non-*) triggers when EITHER matches (OR logic, not AND).
- AWS EventBridge and Spring Cron use 6- or 7-field syntax (including seconds or year) — double-check your platform docs.