Tools › Cron examples › every Monday
Cron expression for every Monday
The cron expression for every Monday is:
What it does
Runs at 00:00 every Monday.
Field by field
| Field | Value | Meaning |
|---|---|---|
| Minute | 0 | exactly 0 |
| Hour | 0 | exactly 0 |
| Day of month | * | every value |
| Month | * | every value |
| Day of week | 1 | exactly 1 |
Typical uses
Weekly reports and weekly cleanup jobs.
Watch out for
Note both 1 and MON work in most cron implementations, but numbers are the most portable.
Add it to your crontab
crontab -e, then add:
0 0 * * 1 /path/to/command >> /var/log/myjob.log 2>&1
Related schedules
every minuteevery 5 minutesevery 10 minutesevery 15 minutesevery 30 minutesevery hourevery 2 hoursevery day at midnightevery day at 3amevery weekday at 9amevery 15 minutes during business hoursevery Sunday at midnighton weekendson the first day of every monthon the last day of the monthevery quartertwice a day