Cron Every Monday
The 1 in the day-of-week field means Monday (the week runs 0-6 from Sunday). With 0 0 in the minute and hour fields, the job runs at midnight every Monday.
Cron Expression
0 0 * * 1Field Breakdown
| Field | Value | Meaning |
|---|---|---|
| Minute | 0 | At minute 0 |
| Hour | 0 | At midnight (00:00) |
| Day of Month | * | Every day of the month |
| Month | * | Every month (1-12) |
| Day of Week | 1 | Monday only |
Variations
0 0 * * 1Every Monday at midnight0 9 * * 1Every Monday at 9 AM30 8 * * 1Every Monday at 8:30 AMCommon Use Cases
- Weekly reports generated at the start of the week
- Monday morning reminder or digest emails
- Start-of-week data resets and counters
Tips & Best Practices
Day-of-week values run 0-6 (Sunday-Saturday), so Monday is 1. Both 0 and 7 mean Sunday.
Set the hour and minute to control when on Monday the job runs.
Names also work in most cron implementations: 0 0 * * MON.