Qaynaq LABS · TOOLS

CRON · DECODE

0 0 1 * 6

This cron expression runs a job at midnight (00:00) on the first day of every month, but only if that day is a Saturday (day-of-week 6).

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 of the day (midnight).
day-of-month 1 The job runs on the 1st day of the month.
month * The job runs every month, regardless of the month.
day-of-week 6 The job runs only if the day is a Saturday (day-of-week 6).

Next fires (UTC)

  • 2023-11-04 00:00:00 UTC
  • 2023-12-02 00:00:00 UTC
  • 2024-01-06 00:00:00 UTC
  • 2024-02-03 00:00:00 UTC

Watch out for

  • This expression will only fire if the 1st day of the month is a Saturday. If the 1st is not a Saturday, the job will not run that month.
  • The day-of-month (1) and day-of-week (6) fields are both specified, which creates an AND condition (not OR).

Equivalent forms

  • 0 0 1 * 0 (if Sunday is represented as 0)
  • 0 0 1 * SAT (using day-of-week names)

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 job not run every month?

The job only runs when the 1st day of the month is a Saturday. If the 1st falls on a Sunday, Monday, etc., the job will not execute that month.

Can I make the job run on the first Saturday of the month instead?

No, this expression specifically targets the 1st day of the month, not the first occurrence of a Saturday. To run on the first Saturday of the month, you would need a different approach (e.g., using a script to calculate the date).

Does this work in all time zones?

The cron expression is evaluated in UTC by default. If you need a different time zone, you must adjust the hour/minute fields or use a time zone-aware scheduler.