A cron expression is five fields separated by spaces: minute, hour, day of month, month and day of week, which tell a server when to run a job. The expression 0 7 1-7 * 1 was meant to run a report at 7:00 on the first Monday of the month. In December 2026 it runs ten times: every day from 1 to 7 December, plus Mondays 14, 21 and 28 December. The cron documentation says it plainly: when both day fields are restricted, the job runs when either of them matches, not only when both do.
To run only on the first Monday, schedule the job for every Monday and let the command run only when the day of the month is 7 or less:
crontab0 7 * * 1 [ "$(date +\%d)" -le 7 ] && /path/report.shThe five fields of a cron expression
| Field | Range | Example |
|---|---|---|
| minute | 0-59 | */15 every 15 minutes |
| hour | 0-23 | 8-16 hours 8 to 16 |
| day of month | 1-31 | 1 the first day |
| month | 1-12 | * every month |
| day of week | 0-6, 0 is Sunday | 1-5 Monday to Friday |
The hour on the server's clock
Cron reads hours in the time zone set on the server. Polish official time is UTC+1 in winter and UTC+2 in summer, so 0 3 * * 1 on a server set to UTC runs on Monday at 4:00 Polish time in winter and at 5:00 in summer.
Our cron explainer turns an expression into a sentence. For the example above it reads "at 07:00, on Monday or on day 1, 2, 3, 4, 5, 6, 7 of the month", so the mistake shows before deployment. It also lists the next five runs in your browser's time zone and warns when an expression points at a day that does not exist, such as 30 February.
Scheduled reports and workflows, such as a Monday morning sales report, are covered on our process automation page, and you can check an expression in the cron explainer.