Qaynaq LABS · TOOLS

CRON · DECODE

0 0 0 12 5

This cron expression runs at midnight (00:00:00 UTC) on the 5th day of the week (Friday) in December.

Field-by-field

PositionValueMeaning
minute 0 At the 0th minute of the hour.
hour 0 At the 0th hour (midnight).
day-of-month 0 Not specified (wildcard), so every day of the month.
month 12 In December (12th month).
day-of-week 5 On Friday (5th day of the week, where Sunday is 0 or 7).

Next fires (UTC)

  • 2024-12-06 00:00:00 UTC
  • 2025-12-05 00:00:00 UTC
  • 2026-12-04 00:00:00 UTC

Watch out for

  • The day-of-month field is set to 0 (wildcard), but the day-of-week field is set to 5 (Friday). This creates a conflict: the job will only run if BOTH conditions are met (December AND Friday).
  • If you intended to run on the 5th day of December regardless of the day of the week, remove the day-of-week field (set it to *).

Equivalent forms

  • 0 0 0 12 *
  • 0 0 0 12 5 *
  • 0 0 * 12 5

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

Why does the day-of-month field show 0 instead of *?

In cron syntax, 0 in the day-of-month field is treated as a wildcard (equivalent to *), meaning 'every day of the month'. This is a common shorthand.

Will this run every Friday in December or only on December 5th?

This will run every Friday in December, not just December 5th. The day-of-month field is a wildcard, so it runs on every day that matches the day-of-week (Friday).

How do I make it run only on December 5th?

Use the expression '0 0 5 12 *' to run at midnight on the 5th day of December, regardless of the day of the week.