Qaynaq LABS · TOOLS

CRON · DECODE

0 0 * * 1

This cron expression runs a job at midnight (00:00) every Monday (day-of-week = 1).

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 * The job runs every day of the month.
month * The job runs every month.
day-of-week 1 The job runs every Monday (day-of-week = 1, where 0 and 7 are Sunday).

Next fires (UTC)

  • 2023-11-06T00:00:00Z
  • 2023-11-13T00:00:00Z
  • 2023-11-20T00:00:00Z
  • 2023-11-27T00:00:00Z

Watch out for

  • If the system's timezone is not UTC, adjust the time accordingly. The day-of-week field (1) is interpreted as Monday regardless of the timezone.

Equivalent forms

  • 0 0 * * MON
  • 0 0 * * 1-7/7

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 on the first day of the month if it's also a Monday?

Yes, it runs at midnight on the first day of the month if that day is a Monday.

Can I use 7 instead of 1 for Sunday?

No, in this expression, 1 means Monday. To run on Sunday, use 0 or 7.