Qaynaq LABS · TOOLS

CRON · DECODE

0 0 31 8 *

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

Field-by-field

PositionValueMeaning
minute 0 The job runs at the 0th minute of the hour.
hour 0 The job runs at the 0th hour (midnight).
day-of-month 31 The job runs on the 31st day of the month.
month 8 The job runs in August (the 8th month).
day-of-week * The day of the week is ignored (any day).

Next fires (UTC)

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

Watch out for

  • August 31st does not exist in all years (e.g., 2023, 2024, 2025). This expression will not fire in years where August has only 31 days (it will skip those years).

Equivalent forms

  • 0 0 31 8 ? * (using ? for day-of-month to clarify intent)
  • 0 0 31 8 ? 2023-2099 (if restricting to a specific year range)

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 won't this fire in some years?

August always has 31 days, so this expression will fire every year. The warning is incorrect for August; it applies to months like February or April. For example, '0 0 31 4 *' would not fire in April.

Can I make this fire on the last day of August instead?

Yes. Use '0 0 L 8 *' to run on the last day of August, regardless of whether it's the 30th or 31st.