Cron @monthly
The cron expression @monthly runs at 00:00, on day 1 of the month. Below: what each field means, its next runs in your time zone, and how to get an alert if it stops.
0Minute0Hour1Day of month*Month*Day of week@monthly is shorthand for 0 0 1 * *
At 00:00, on day 1 of the month.
What does @monthly expand to?
Cron reads @monthly as the five fields 0 0 1 * *. The nickname is only shorthand: the scheduler stores and runs the expanded schedule, so the two behave the same in every way, including on the nights the clocks change.
| Field | Written | Means |
|---|---|---|
| Minute | 0 | 0 |
| Hour | 0 | 0 |
| Day of month | 1 | 1 |
| Month | * | every month |
| Day of week | * | every day of week |
Which schedulers accept @monthly?
Linux crontab (cronie), Kubernetes CronJob, Spring @Scheduled accept it as written. GitHub Actions, Vercel Cron, Quartz, AWS EventBridge, systemd OnCalendar need the fields written out instead.
When is this schedule useful?
A readable crontab entry for monthly billing, cleanups, or report generation.
What should you watch out for?
Some schedulers refuse nicknames; Vercel, EventBridge and Quartz need the fields written out, as in the converter on this page.
Where can you see its runs?
Runs per year, daylight saving behavior and the same schedule for other schedulers are on the first day of the month page, which covers 0 0 1 * *.
How do you get an alert when it stops running?
Create a cron check with the schedule 0 0 1 * * and 5 minutes of grace, then ping it at the end of the job. If a run does not report in by the end of the grace time, CronMissed sends an alert.
@monthly /usr/local/bin/job.sh && curl -fsS --max-time 10 --retry 5 --retry-connrefused -o /dev/null "https://ping.cronmissed.com/5f0c1b2e-7a3d-4c8e-9b61-2d4f8a7e3c10"The snippet builder writes the same ping for systemd, GitHub Actions, Vercel, Kubernetes and backup scripts.
Questions and answers
- At 00:00, on day 1 of the month. @monthly is shorthand for 0 0 1 * *.
- On a day it runs, it runs once. It runs on 12 days of 2027, 12 runs in all. The gap between runs is not constant: it varies from 28 days to 31 days.
- Create a cron check with the schedule 0 0 1 * * and 5 minutes of grace, then add the ping to the end of the job so it requests the check URL after each successful run. If a run does not report in by the end of the grace time, CronMissed alerts you by email, Slack, Discord, Telegram, ntfy or webhook.
What does @monthly mean in cron?
How often does @monthly run?
How do I get an alert when this job stops running?
Know the first time this schedule misses a run
CronMissed expects a ping at every run of @monthly. When one is late or reports a failure, you get an alert by email, Slack, Discord, Telegram, ntfy or webhook.