0 0 1,15 * * — what this cron expression means
The cron expression 0 0 1,15 * * runs at midnight (00:00) on the 1st and 15th of every month. Here is the field-by-field breakdown and what it means in plain English.
What 0 0 1,15 * * means
It runs at midnight (00:00) on the 1st and 15th of every month.
Field by field
minute=0, hour=0, day-of-month=1,15, month=*, day-of-week=*.
The comma list 1,15 means two specific days of the month. It fires at 00:00 on the 1st and again on the 15th — twice a month.
When it runs next
The next run is the next time the clock matches: at midnight (00:00) on the 1st and 15th of every month.
FAQ
What does 0 0 1,15 * * mean?
It runs twice a month, at midnight on the 1st and on the 15th.
Can I use this for bi-monthly payroll?
Yes — 1st and 15th is the classic semi-monthly schedule. It runs on those dates regardless of weekday.