Skip to content
CronChief

Cron expression for every day at midnight

0 0 * * * runs at 00:00 every day. The @daily and @midnight macros mean the same thing.

In plain English: “At 12:00 AM”

Field breakdown

Minute 0
Hour 0
Day of month *
Month *
Day of week *

Next run times (UTC)

  1. Tue, Jul 7, 2026 · 12:00 AM UTC in 19h 58m
  2. Wed, Jul 8, 2026 · 12:00 AM UTC in 1 day
  3. Thu, Jul 9, 2026 · 12:00 AM UTC in 2 days
  4. Fri, Jul 10, 2026 · 12:00 AM UTC in 3 days
  5. Sat, Jul 11, 2026 · 12:00 AM UTC in 4 days

See these in your own timezone.

When to use it

Related schedules

Good to know

  • Midnight jobs are sensitive to the server's timezone. If your server runs UTC but your business is in New York, “midnight” fires at 7 or 8 PM local. Set the schedule in the timezone you actually mean.
  • Many people move nightly jobs to 2–3 AM instead, to avoid the midnight rush of everything firing at once.