Cron job every Monday
The crontab line for a job every Monday is 0 0 * * 1. It runs once a week, 52 times a year. Edit it below to see the next runs in your time zone.
How 0 0 * * 1 reads
The five fields are minute, hour, day of month, month and day of week. A star means every value.
| Field | Value | Meaning |
|---|---|---|
| Minute | 0 | minute 00 |
| Hour | 0 | hour 00 |
| Day of month | * | every day of month |
| Month | * | every month |
| Day of week | 1 | Monday (1) |
For example, from Wednesday 6 January 2027 at 10:07 the next runs are: Mon 11 Jan 2027, 00:00; Mon 18 Jan 2027, 00:00; Mon 25 Jan 2027, 00:00; Mon 1 Feb 2027, 00:00; Mon 8 Feb 2027, 00:00.
What a job every Monday is for
A weekly job at the start of the week suits weekly reports, full backups, licence or certificate reviews, and cleaning up anything older than seven days.
Common mistakes
- Day of week counts from Sunday: 0 and 7 are Sunday, 1 is Monday. «0 0 * * 0» runs on Sunday.
- If you set both the day of month and the day of week, cron runs when either matches. «0 0 1 * 1» runs on the 1st of every month and on every Monday, not only on Mondays that fall on the 1st.
The same schedule as a systemd timer
On systems with systemd, a timer can replace the crontab line: OnCalendar=Mon *-*-* 00:00:00. Check it with systemd-analyze calendar "Mon *-*-* 00:00:00", which prints the next run.
Know when it didn’t run
Cron doesn’t tell you when a job stops running. Add a heartbeat monitor with a period of 1 week and end the line with a call to its URL, for example 0 0 * * 1 /path/job.sh && curl -fsS -m 10 <ping URL>. If a ping is late by more than the grace time you set, you get an alert, and a call to the URL with /fail reports a failure at once.
What is the cron expression for a job every Monday?
0 0 * * 1. It runs once a week, 52 times a year, on the server’s clock.
How do I run a job every Monday with systemd instead?
Create a timer with OnCalendar=Mon *-*-* 00:00:00 next to a service that runs the job, then enable it with systemctl enable --now name.timer. Persistent=true also runs a run that was missed while the machine was off.