Cron Expression: 0 0 * * 6,0
At midnight on Saturday and Sunday.
Field Breakdown
| Field | Value |
|---|---|
| Minute | 0 |
| Hour | 0 |
| Day of Month | * |
| Month | * |
| Day of Week | 6,0 |
Common Use Case
Weekend-only maintenance windows.
Equivalents in Popular Schedulers
crontab (Linux/macOS)
0 0 * * 6,0 /path/to/your/script.sh
GitHub Actions (.github/workflows/*.yml)
on:
schedule:
- cron: '0 0 * * 6,0'
AWS EventBridge (cron format)
cron(0 0 * * 6,0) # Note: AWS uses 6 fields with year
Kubernetes CronJob
spec: schedule: "0 0 * * 6,0"