Qaynaq LABS · TOOLS

CRON · DECODE

0 0 31 12 *

This cron expression runs a job at midnight (00:00) on December 31st every year.

Field-by-field

PositionValueMeaning
minute 0 At the 0th minute of the hour.
hour 0 At the 0th hour (midnight).
day-of-month 31 On the 31st day of the month.
month 12 In December.
day-of-week * Every day of the week.

Next fires (UTC)

  • 2023-12-31 00:00:00 UTC
  • 2024-12-31 00:00:00 UTC
  • 2025-12-31 00:00:00 UTC

Watch out for

  • December 31st does not exist in all years (e.g., no February 30th, but December always has 31 days).
  • This will not fire in years where December 31st is not a valid date (though this is impossible for December).

Equivalent forms

  • 0 0 31 12 ? *

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

Will this fire if December 31st is a Sunday?

Yes, the day-of-week field is a wildcard (*), so it will fire regardless of the day of the week.

Can I make this fire only on weekdays?

Yes, you could use '0 0 31 12 1-5' to restrict it to Monday through Friday.

What if I want it to fire at a different time?

Adjust the hour and minute fields. For example, '30 12 31 12 *' would fire at 12:30 PM on December 31st.