Cron Expression: Every hour on weekends (Saturday and Sunday)
Cron Expression
0 * * * 0,6Every hour on weekends (Saturday and Sunday)
Click the expression to select it, then copy.
Quick Answer
The cron expression for "every hour on weekends (saturday and sunday)" is `0 * * * 0,6`. Copy and paste this into your crontab, Vercel cron config, GitHub Actions workflow, or any standard cron-compatible scheduler.
Field-by-Field Breakdown
| Field | Value | Meaning |
|---|---|---|
| Minute | 0 | At minute 0 |
| Hour | * | Every hour |
| Day of Month | * | Every day of month |
| Month | * | Every month |
| Day of Week | 0,6 | At day of week values: 0,6 |
Common Use Cases
- →Weekend monitoring
- →Regular weekend sync
How to Use This Expression
Vercel Cron Jobs
// vercel.json
{
"crons": [{
"path": "/api/your-endpoint",
"schedule": "0 * * * 0,6"
}]
}GitHub Actions
# .github/workflows/scheduled.yml
on:
schedule:
- cron: '0 * * * 0,6'Linux crontab
0 * * * 0,6 /path/to/your-command.sh