Qaynaq LABS · TOOLS

CRON · DECODE

0 0 20 * *

This cron expression runs a job at midnight (00:00) on the 20th day of every month.

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 20 The job runs on the 20th day of the month.
month * The job runs every month, regardless of the month.
day-of-week * The job runs every day of the week, regardless of the day.

Next fires (UTC)

  • 2023-10-20 00:00:00 UTC
  • 2023-11-20 00:00:00 UTC
  • 2023-12-20 00:00:00 UTC
  • 2024-01-20 00:00:00 UTC

Watch out for

  • If the 20th day of the month does not exist (e.g., February in non-leap years), the job will not run that month.

Equivalent forms

  • 0 0 20 * ?
  • 0 0 20 JAN-DEC *

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

Does this run at midnight UTC or local time?

This runs at midnight UTC unless specified otherwise. If local time is required, the cron expression would need adjustment (e.g., using a timezone-aware scheduler).

What happens if the 20th is a weekend?

The job runs regardless of whether the 20th falls on a weekend or weekday.