Cron Expression for Every Month on the 1st and 15th
0 0 1,15 * *→Runs at midnight on the 1st and 15th0
Minute
0–59
0
Hour
0–23
1,15
Day
1–31
*
Month
1–12
*
Weekday
0–7
Quick Examples
How It Works
The expression
0 0 1,15 * * uses a list in the day-of-month field to run twice per month on common payroll dates.Common Use Cases
- 1Semi-monthly payroll
- 2Bi-monthly billing cycles
Linux Crontab Example
0 0 1,15 * * /app/payroll.shAdd this line to your crontab with crontab -e
Need a custom schedule?
Build your own cron expression visually with our generator.
More Monthly Schedules
Runs at midnight on the 1st of each month
0 0 1 * *
Runs at midnight on the 15th of each month
0 0 15 * *
Runs at midnight on the 5th of each month
0 0 5 * *
Runs at midnight on the 10th of each month
0 0 10 * *
Runs at midnight on the 20th of each month
0 0 20 * *
Runs at midnight on the 25th of each month
0 0 25 * *
Runs quarterly on the 1st at midnight
0 0 1 */3 *