Qaynaq LABS · TOOLS

CRON · DECODE

0 */12 * * *

Runs at the top of every hour, every 12 hours (at 00:00 and 12:00 UTC).

Field-by-field

PositionValueMeaning
minute 0 The job runs at the 0th minute of the hour (e.g., 00:00, 12:00).
hour */12 The job runs every 12 hours (0, 12, 24 in 24-hour format).
day-of-month * The job runs every day of the month.
month * The job runs every month.
day-of-week * The job runs every day of the week.

Next fires (UTC)

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

Watch out for

  • No edge cases for this expression as it uses simple intervals.

Equivalent forms

  • 0 0,12 * * *
  • 0 0/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

Why does */12 work for hours?

The */12 in the hour field means 'every 12 hours starting from 0', which translates to 00:00 and 12:00 UTC in a 24-hour format.

Can this expression run at 24:00 UTC?

No, cron expressions use 0-23 for hours, so 24:00 is not valid. The next run after 12:00 UTC would be 00:00 UTC the following day.