Cheat Sheets · Cron Cheat Sheet · Cron on the 15th of Every Month — Crontab Example
Cron on the 15th of Every Month — Crontab Example
0 0 15 * *
Runs at 00:00 (midnight) on the 15th day of every month.
Field by field
| Field | Value | Meaning |
|---|---|---|
Minute | 0 | At minute 0 |
Hour | 0 | At midnight (00:00) |
Day of month | 15 | On the 15th day |
Month | * | Every month |
Day of week | * | Any day of the week |
Mid-month billing cycles, bi-weekly payroll reconciliations, and intermediate audits frequently anchor on the 15th day of the month. Keep day-of-week wildcarded (*) to avoid the union trap.
0 0 15 * * /usr/local/bin/midmonth-payroll.sh
Related schedules
FAQ
Can I run on the 1st and the 15th?
Yes: use a comma list in the day-of-month field: 0 0 1,15 * *.
What if the 15th falls on a weekend?
Standard cron runs regardless of whether it is a weekend. If you want the nearest weekday, add a check inside your shell script.
How do I run at noon on the 15th?
Set the hour to 12: 0 12 15 * *.
Stop memorizing — build it interactively
Try this schedule in the Cron EditorFull reference: Cron Cheat Sheet