Qaynaq LABS · TOOLS

CRON · DECODE

* * * * 2

This cron expression runs every minute on Tuesdays (day-of-week = 2).

Field-by-field

PositionValueMeaning
minute * Every minute
hour * Every hour
day-of-month * Every day of the month
month * Every month
day-of-week 2 Tuesday (0 and 7 are Sunday)

Next fires (UTC)

  • 2023-11-07T00:00:00Z
  • 2023-11-07T00:01:00Z
  • 2023-11-07T00:02:00Z
  • 2023-11-14T00:00:00Z
  • 2023-11-14T00:01:00Z

Watch out for

  • Runs every minute for the entire day on Tuesdays, which may be resource-intensive.
  • If both day-of-month and day-of-week are specified, some cron implementations may use OR logic (e.g., runs on the 2nd day of the month OR Tuesday).

Equivalent forms

  • 0 * * * 2 (runs at the top of every hour on Tuesdays)
  • */1 * * * 2 (equivalent to * * * * 2)
  • * * * * 3 (runs on Wednesdays if day-of-week is 3)

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 every Tuesday at midnight?

No, it runs every minute of every Tuesday, including midnight.

What if I want it to run only once per Tuesday?

Use '0 * * * 2' to run at the top of every hour on Tuesdays, or specify a specific minute (e.g., '0 12 * * 2' for noon on Tuesdays).

Does this work in all cron implementations?

Most standard cron implementations support this, but some may interpret day-of-week and day-of-month differently (e.g., OR vs. AND logic).