Cron Expression for Every Month (1st Day)
0 0 1 * *→Runs at midnight on the 1st of each month0
Minute
0–59
0
Hour
0–23
1
Day
1–31
*
Month
1–12
*
Weekday
0–7
Quick Examples
How It Works
The expression
0 0 1 * * fires at midnight on the first day of every month. The day-of-month field is set to 1, while month and day-of-week remain wildcards. This is the standard pattern for monthly billing, invoicing, and reporting tasks.Common Use Cases
- 1Monthly billing and invoice generation
- 2First-of-month compliance reports
- 3Rotating monthly log archives
Linux Crontab Example
0 0 1 * * /app/generate-invoices.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 15th of each month
0 0 15 * *
Runs at midnight on the 1st and 15th
0 0 1,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 *