The third field is the day of the month, so 1 with 0 0 runs the job at 00:00 on the 1st, twelve times a year. crontab's @monthly is the same schedule. It suits monthly reports, invoices and clean-ups that cover the month that just ended.
0 0 1 * * runs a cron job at 00:00 on the 1st of every month. Get it for Quartz, AWS, GitHub Actions, Kubernetes and systemd, with variations.
crontab expression
0 0 1 * *
In plain English
At 00:00 on day 1 of the month.
12 runs a year (counted over 2026, UTC)
Field by field
01/60:00
01/2400:00
11/31Day 1
*12/12Every month
*7/7Every day of the week
Day of month decides; day of week is *.
The same schedule on every platform
Each expression below is the same schedule written for that platform, checked run by run against the crontab version.
| Platform | Expression | Open in tool |
|---|---|---|
| crontab | 0 0 1 * * | Open in the crontab tool |
| Quartz | 0 0 0 1 * ? | Open in the Quartz tool |
| AWS EventBridge | cron(0 0 1 * ? *) | Open in the AWS EventBridge tool |
| GitHub Actions | 0 0 1 * * | Open in the GitHub Actions tool |
| Kubernetes | 0 0 1 * * | Open in the Kubernetes tool |
| systemd | *-*-01 00:00:00 | Open in the systemd tool |
Variations
| Expression | Runs | Open in explainer |
|---|---|---|
0 9 1 * * | At 09:00 on day 1 of the month. | Open 0 9 1 * * in the explainer |
0 0 1,15 * * | At 00:00 on day 1 and 15 of the month. | Open 0 0 1,15 * * in the explainer |
0 0 1 */3 * | At 00:00 on day 1 of the month in January, April, July and October. | Open 0 0 1 */3 * in the explainer |
0 0 1 1 * | At 00:00 on day 1 of the month in January. | Open 0 0 1 1 * in the explainer |
0 9 1-7 * 1 | At 09:00 on day 1 through 7 of the month, or on Monday. | Open 0 9 1-7 * 1 in the explainer |
Watch out for
There is no last day of the month in crontab
Five-field cron cannot say last day. Quartz and AWS EventBridge can with L (0 0 0 L * ?, cron(0 0 L * ? *)), and systemd with *-*~01. In crontab, schedule 0 0 28-31 * * and let the script exit unless tomorrow is the 1st.
Adding a weekday makes it OR, not AND
0 0 1 * 1 runs on the 1st and on every Monday, not only when the 1st is a Monday. When both day fields are set, cron runs if either one matches.
Midnight on the 1st is busy
Billing, backups and log rotation all like 00:00 on the 1st. 30 2 1 * * keeps the job monthly and away from the rush.
FAQ
What is the cron expression for the first day of every month?
0 0 1 * *. It runs at 00:00 on the 1st of each month.
Is @monthly the same as 0 0 1 * *?
Yes, in crontab. GitHub Actions, AWS EventBridge and Quartz do not accept @monthly, so use the five fields or the platform's version above.
How do I run on the first Monday of the month?
Not with one crontab line, because day of month and day of week combine as OR. Quartz can use 0 0 9 ? * 2#1, AWS cron(0 9 ? * MON#1 *), and systemd Mon *-*-01..07 09:00.
How do I run on the last day of the month?
crontab cannot express it directly. Quartz and AWS EventBridge use L in the day-of-month field, and systemd uses *-*~01. In crontab, run on days 28 to 31 and let the script check whether tomorrow is the 1st.