Cron 1st and 15th of the Month
The 1,15 list in the day-of-month field means the 1st and the 15th. With 0 0 in the minute and hour fields, the job runs at midnight on both days of every month — a common semi-monthly (twice-a-month) cadence.
Cron Expression
0 0 1,15 * *Field Breakdown
| Field | Value | Meaning |
|---|---|---|
| Minute | 0 | At minute 0 |
| Hour | 0 | At midnight (00:00) |
| Day of Month | 1,15 | The 1st and the 15th |
| Month | * | Every month (1-12) |
| Day of Week | * | Any day of the week |
Variations
0 0 1,15 * *Midnight on the 1st and 15th0 9 1,15 * *9 AM on the 1st and 15th0 0 1,16 * *A halves-of-month split on the 1st and 16thCommon Use Cases
- Semi-monthly payroll and payouts
- Twice-a-month newsletters or digests
- Mid-month and start-of-month reconciliation
Tips & Best Practices
List specific days with commas: 1,15 runs on exactly those dates.
Keep day-of-week as * so the OR-matching rule does not add extra runs.
For true biweekly (every 14 days), see the every-2-weeks guide — it is not the same as 1st and 15th.