First of Every Month Cron Expression — 0 0 1 * *
Cron Expression
0 0 1 * *What it means
Runs on the 1st of every month at midnight
Standard for monthly billing cycles, invoice generation, resetting monthly usage counters, and archiving the previous month's data.
Next 8 Scheduled Runs (UTC)
- 1.Wed, 01 Jul 2026 00:00:00 GMT
- 2.Sat, 01 Aug 2026 00:00:00 GMT
- 3.Tue, 01 Sep 2026 00:00:00 GMT
- 4.Thu, 01 Oct 2026 00:00:00 GMT
- 5.Sun, 01 Nov 2026 00:00:00 GMT
- 6.Tue, 01 Dec 2026 00:00:00 GMT
- 7.Fri, 01 Jan 2027 00:00:00 GMT
- 8.Mon, 01 Feb 2027 00:00:00 GMT
Platform Snippets
GitHub Actions
- cron: '0 0 1 * *'
Kubernetes CronJob
schedule: "0 0 1 * *"
AWS EventBridge
cron(0 0 1 * ? *)
AWS uses a 6-field format with year and requires either DOM or DOW to be ?.
systemd Timer
[Timer] OnCalendar=*-*-1 00:00:00 Persistent=true
Want to decode a different expression or test your own?
Test this expression interactively →FAQ
What does the cron expression 0 0 1 * * mean?
Runs on the 1st of every month at midnight. Standard for monthly billing cycles, invoice generation, resetting monthly usage counters, and archiving the previous month's data.
How do I use 0 0 1 * * in GitHub Actions?
Add a schedule trigger under the "on" key in your workflow YAML: on: schedule: - cron: '0 0 1 * *'. This will run your workflow runs on the 1st of every month at midnight. Note that GitHub Actions uses UTC time.
Is the cron expression 0 0 1 * * valid for Kubernetes CronJobs?
Yes. Set the schedule field in your CronJob spec to "0 0 1 * *". Kubernetes CronJobs use standard 5-field cron syntax and run in UTC by default unless you configure a timeZone field.
