Back to examples
Monthly
Easy
Unix / Linux

Cron expression for monthly on day 12

Run a scheduled job on day 12 of every month at midnight.

Cron expression0 0 12 * *
Runs on day 12 of every month at midnight.

Primary dialect: Unix / Linux


Next run examples

Static preview generated for the primary dialect. AWS examples use UTC; other examples use Europe/Berlin for display.

Jun 12, 2026, 12:00 AM

Jul 12, 2026, 12:00 AM

Aug 12, 2026, 12:00 AM

Sep 12, 2026, 12:00 AM

Oct 12, 2026, 12:00 AM


Dialect versions

Unix / Linux
0 0 12 * *

Standard Unix/Linux cron expression when this schedule is expressible with five fields.

AWS EventBridge
cron(0 0 12 * ? *)

AWS EventBridge cron schedules are evaluated in UTC. Use rate(...) for simple fixed intervals when possible.

Quartz
0 0 0 12 * ?

Quartz includes a leading seconds field and supports additional day operators.

Kubernetes
0 0 12 * *

Kubernetes CronJobs use standard five-field cron syntax. Non-standard operators require job-level logic.


Variants

First day at 09:00
0 9 1 * *

Runs at 09:00 on the first day of each month.

Every quarter
0 0 1 1,4,7,10 *

Runs on the first day of each quarter.

Last day with Quartz
0 0 0 L * ?

Runs on the last day of each month in Quartz.


Kubernetes notes

  • Kubernetes CronJobs use standard five-field cron syntax.
  • "Set concurrencyPolicy
  • restartPolicy
  • and history limits based on expected runtime and failure behavior."

Common mistakes

  • "Monthly cron schedules are calendar-based
  • not fixed 30-day intervals."
  • Combining day-of-month and day-of-week in standard cron can create unexpected extra runs.

FAQ

What is the cron expression for monthly on day 12?

Use `0 0 12 * *` for standard cron when the scheduler supports this syntax.

Can I use this expression in Kubernetes?

Yes, if it is standard five-field cron. AWS and Quartz-only operators need a Kubernetes-safe alternative or application-level date logic.

Related cron resources