Qaynaq LABS · TOOLS

CRON · DECODE

*/2 * * * *

This cron expression runs every 2 minutes, every hour, every day, every month, and every day of the week.

Field-by-field

PositionValueMeaning
minute */2 Every 2 minutes (0, 2, 4, ..., 58)
hour * Every hour (0-23)
day-of-month * Every day of the month (1-31)
month * Every month (1-12)
day-of-week * Every day of the week (0-6 or 0-7, where 0 and 7 are Sunday)

Next fires (UTC)

  • 2023-10-01 00:00:00 UTC
  • 2023-10-01 00:02:00 UTC
  • 2023-10-01 00:04:00 UTC
  • 2023-10-01 00:06:00 UTC

Watch out for

  • No edge cases for this simple expression.

Equivalent forms

  • 0/2 * * * *
  • 0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58 * * * *

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 the start of every 2-minute interval?

Yes, it runs at the exact start of every 2-minute interval (e.g., 00:00, 00:02, 00:04, etc.).

Can this be adjusted to run every 2 hours instead?

Yes, use */2 0 * * * to run every 2 hours at the top of the hour.