Cron Expression: First Day of Every Month

0 0 1 * * (POSIX) · 0 0 1 * ? * (AWS EventBridge) · 1 run/month (12 runs/year)

UTC + Local
Valid
5 fields (min hr dom mon dow). Sunday = 0 or 7. If both DOM and DOW are restricted, POSIX matches either (OR).
Presets:
Interactive Field Editors (Live Sync)
Next 10 Execution Runs (UTC & Local)
#UTC TimeLocal TimeIn
Cross-Dialect Translator (1-Click Copy) Auto-converts DOW & ?
Valid expression
10 runs simulatedCmd/Ctrl+Enter
Advertisement
Reserved fixed-height slot (CLS = 0.00) 728×90 320×100 300×50

How "First Day of Every Month" (0 0 1 * *) Works Across Schedulers

The standard 5-field POSIX cron expression 0 0 1 * * schedules execution first day of every month (Jan 1, Feb 1, Mar 1 ... Dec 1 at 00:00:00), totaling 1 run/month (12 runs/year). Teams commonly rely on this cadence for monthly SaaS billing runs, usage-tier quota resets, monthly financial statements, compliance audit archives, and rotating monthly database partitions. When deploying to AWS EventBridge Rules or Scheduler, translate it to the 6-field syntax cron(0 0 1 * ? *) with the mandatory ? wildcard and trailing Year field; for 6-field seconds-first engines like Spring @Scheduled or Azure Functions NCRONTAB, use 0 0 0 1 * *.

0 0 1 * * matches the @monthly macro and executes cleanly on every month regardless of 28/29/30/31 day lengths. For invoice generation that depends on final previous-month events, shift to 0 2 1 * * (02:00 UTC on the 1st) so late-arriving 23:59 webhooks are included.

  • POSIX / K8s / GitHub0 0 1 * * — Monthly on the 1st at 00:00 (equivalent to @monthly) (Jan 1, Feb 1, Mar 1 ... Dec 1 at 00:00:00).
  • AWS EventBridge & SpringAWS: cron(0 0 1 * ? *) · Spring / Azure 6-field: 0 0 0 1 * *.
  • Execution Cadence1 run/month (12 runs/year). Typical workloads: monthly SaaS billing runs, usage-tier quota resets, monthly financial statements, compliance audit archives, and rotating monthly database partitions.
What is the exact cron expression for first day of every month?

Use 0 0 1 * * for Linux crontab, Kubernetes CronJob, GitHub Actions, and GCP Cloud Scheduler. Use cron(0 0 1 * ? *) for AWS EventBridge, and 0 0 0 1 * * for Spring @Scheduled and Azure Functions NCRONTAB.

How do I schedule a monthly job on the 1st at 9:00 AM instead of midnight?

Change the hour field from 0 to 9: 0 9 1 * * (or cron(0 9 1 * ? *) in AWS EventBridge).