⏱OpsTools

Cron Expression for Every Month (1st Day)

0 0 1 * *→Runs at midnight on the 1st of each month
0
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.sh

Add this line to your crontab with crontab -e

Need a custom schedule?

Build your own cron expression visually with our generator.

Open Generator →