Qaynaq LABS · TOOLS

CRON · DECODE

0 0 1 6 *

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

Field-by-field

PositionValueMeaning
minute 0 At minute 0 (top of the hour)
hour 0 At hour 0 (midnight)
day-of-month 1 On the 1st day of the month
month 6 In June (6th month)
day-of-week * Every day of the week (ignored due to day-of-month)

Next fires (UTC)

  • 2024-06-01 00:00:00 UTC
  • 2025-06-01 00:00:00 UTC
  • 2026-06-01 00:00:00 UTC

Watch out for

  • The day-of-week field is ignored when day-of-month is specified (unless using special syntax like '?' in some cron implementations).
  • June 1st may not exist in all calendars (e.g., if June is skipped in a hypothetical calendar system).

Equivalent forms

  • 0 0 1 JUN *
  • 0 0 1 6 ? *

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-week field have a wildcard (*)?

The day-of-week field is ignored when day-of-month is specified (e.g., '1' for the 1st day). The wildcard ensures no unintended restrictions.

Does this run every year?

Yes, because the year field is not specified in the cron expression, it runs every year.

What if June 1st is a weekend?

The cron expression will still run at midnight on June 1st regardless of the day of the week.