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

FieldValueMeaning
Minute0At minute 0
Hour0At midnight (00:00)
Day of Month1,15The 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 15th
0 9 1,15 * *9 AM on the 1st and 15th
0 0 1,16 * *A halves-of-month split on the 1st and 16th

Common 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.

Related Intervals