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