Qaynaq LABS · TOOLS

CRON · DECODE

0 0 5 * *

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

Field-by-field

PositionValueMeaning
minute 0 At minute 0 (top of the hour).
hour 0 At hour 0 (midnight).
day-of-month 5 On the 5th day of the month.
month * Every month.
day-of-week * Ignored (day-of-month takes precedence).

Next fires (UTC)

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

Watch out for

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

Equivalent forms

  • 0 0 5 * ?
  • 0 0 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

Does this run at midnight local time or UTC?

This runs at midnight UTC unless the system or user specifies otherwise.

What happens if the 5th day is a weekend?

The job runs regardless of the day of the week (day-of-week field is ignored).

Can I make this run at a different time of day?

Yes, adjust the hour and minute fields (e.g., 30 8 5 * * for 08:30 on the 5th).