The cron expression for every weekend is 0 0 * * 0,6. Runs on Saturday and Sunday only — useful for heavier maintenance that would disrupt a weekday. Preview the next runs in your timezone.
0minute0hour*day*month0,6weekdayIn Plain English
What your cron expression actually means.
Upcoming Executions
Preview the next 50 times this schedule will trigger.
About 0 0 * * 0,6
0 0 * * 0,6 — Runs on Saturday and Sunday only — useful for heavier maintenance that would disrupt a weekday.
Cron reads the five fields as minute hour day month weekday. For this schedule that breaks down as:
| Field | Position | Matches |
|---|---|---|
0 | minute | 0 |
0 | hour | 0 |
* | day of month | every day |
* | month | every month |
0,6 | day of week | Sunday, Saturday |
New to cron? Read the syntax reference or the FAQ.
Use it in crontab or GitHub Actions
Both snippets are ready to paste. A crontab runs in the server's local timezone; GitHub Actions always evaluates schedules in UTC. For Kubernetes, AWS EventBridge, or Vercel, use the export menu in the calculator above.
crontab
# At 12:00 AM, only on Sunday and Saturday 0 0 * * 0,6 /path/to/command
GitHub Actions workflow
# At 12:00 AM, only on Sunday and Saturday
# Note: GitHub Actions always runs schedules in UTC.
on:
schedule:
- cron: '0 0 * * 0,6'