Qaynaq LABS · TOOLS

CRON · DECODE

0 0 * * *

Runs at midnight (00:00) every day.

Field-by-field

PositionValueMeaning
minute 0 At the 0th minute of the hour.
hour 0 At the 0th hour (midnight).
day-of-month * Every day of the month.
month * Every month.
day-of-week * Every day of the week.

Next fires (UTC)

  • 2023-10-01 00:00:00 UTC
  • 2023-10-02 00:00:00 UTC
  • 2023-10-03 00:00:00 UTC

Watch out for

  • No edge cases; runs reliably every day at midnight.

Equivalent forms

  • 0 0 * * 0
  • 0 0 * * 7
  • 0 0 * * ?

About cron expressions

Cron is the standard format Unix-like systems use to schedule recurring jobs: five space-separated fields representing minute, hour, day of month, month, and day of week. The syntax is dense but unambiguous — once you can read it, you can express almost any schedule.

Qaynaq Labs' cron decoder works in both directions: paste an existing expression to read it out in English, or describe a schedule and get a valid cron string back. Each result includes the next few fire times, any caveats (like end-of-month edge cases), and equivalent alternative forms.

Frequently asked

Does this run at midnight local time or UTC?

This runs at midnight UTC unless specified otherwise.

Can I make it run at midnight in a specific timezone?

Yes, but you would need to adjust the hour/minute fields or use a timezone-aware scheduler.

Is there a difference between * and ? in the day-of-week field?

In this case, no, but ? is typically used in scheduling systems to avoid ambiguity with the day-of-month field.