Cron job Weekly
0 0 * * 0
minute
hour
day (month)
month
day (week)
At 12:00 AM, only on Sunday
Field breakdown
| Field | Value | Meaning |
|---|---|---|
| minute | 0 | at minute 0 |
| hour | 0 | at hour 0:00 |
| day (month) | * | any value |
| month | * | any value |
| day (week) | 0 | on Sunday |
Crontab line
0 0 * * 0 /path/to/script.shThe expression 0 0 * * 0 schedules a cron job to run weekly. This is a commonly referenced cron schedule used for periodic tasks such as maintenance, cleanup, reporting, or automated workflows that run on a regular cadence.