First of the Month Cron Expression

Runs at 00:00 on day 1 of every month.

Expression

Field Breakdown

0
minute
0
hour
1
day-of-month
*
month
*
day-of-week
minuteat minute 0
hourat midnight
day-of-monthat the 1st
monthevery month (1–12)
day-of-weekevery weekday (0=Sun – 6=Sat)

How It Works

Identical to `@monthly`. Fires only when the calendar day is 1, regardless of weekday.

Example Run Times

  • Jan 1 00:00:00
  • Feb 1 00:00:00
  • Mar 1 00:00:00
  • Apr 1 00:00:00
  • May 1 00:00:00

Frequently Asked Questions

What if both day-of-month and day-of-week are set?

Vixie cron uses the OR rule when both are restricted — the job fires on either match. Quartz uses AND and requires one of the two to be `?`.

This Schedule in Other Flavors

Free cron syntax cheat sheet

© 2026 Abel Solutions LLC. All rights reserved. · More from Abel Solutions: RegexPro — test and debug regular expressions