Cron Expression for First Day of Month

0 0 1 * *

Breakdown

This expression runs a job at midnight on the 1st of every month.

Minute0 — at minute 0
Hour0 — at midnight
Day of Month1 — the 1st
Month* — every month
Day of Week* — any day of week

Also equivalent to the shorthand @monthly on systems that support it.

Try the Cron Expression Builder to create and test cron schedules.

Related Questions