Cron expression for the last day of every month
Run a scheduled job on the last day of each month at midnight.
0 0 0 L * ?Runs on the last day of every month at midnight.
Primary dialect: Quartz
Next run examples
Static preview generated for the primary dialect. AWS examples use UTC; other examples use Europe/Berlin for display.
Jun 30, 2026, 12:00 AM
Jul 31, 2026, 12:00 AM
Aug 31, 2026, 12:00 AM
Sep 30, 2026, 12:00 AM
Oct 31, 2026, 12:00 AM
Dialect versions
Unix / Linux
0 0 0 L * ?Standard Unix/Linux cron expression when this schedule is expressible with five fields.
AWS EventBridge
cron(0 0 L * ? *)AWS EventBridge cron schedules are evaluated in UTC. Use rate(...) for simple fixed intervals when possible.
Quartz
0 0 0 L * ?Quartz includes a leading seconds field and supports additional day operators.
Kubernetes
Kubernetes CronJobs use standard five-field cron syntax. Non-standard operators require job-level logic.
Variants
Last day at 23:00
0 0 23 L * ?Quartz expression for 23:00 on the last day.
Last weekday
0 0 0 LW * ?Quartz expression for the last weekday of the month.
First day of month
0 0 1 * *Standard cron expression for the first day of every month.
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
- Forgetting to confirm which timezone the scheduler uses.
- Assuming the schedule starts relative to deployment time instead of matching wall-clock fields.
FAQ
Can standard cron run on the last day of the month?
Not directly. Use scheduler support for `L` or add date logic inside the command.
What is the AWS cron for last day of month?
Use `cron(0 0 L * ? *)` for midnight UTC on the last day of every month.