Qaynaq LABS · TOOLS

CRON · DECODE

0 12 * * 6-7

Run at 12:00 PM (UTC) every Saturday and Sunday.

Field-by-field

PositionValueMeaning
minute 0 At the 0th minute of the hour.
hour 12 At the 12th hour of the day (noon).
day-of-month * Every day of the month.
month * Every month.
day-of-week 6-7 On Saturday (6) and Sunday (7).

Next fires (UTC)

  • 2023-11-04 12:00:00 UTC
  • 2023-11-05 12:00:00 UTC
  • 2023-11-11 12:00:00 UTC
  • 2023-11-12 12:00:00 UTC

Watch out for

  • Day-of-week 6-7 is equivalent to 0-1 in some cron implementations (where 0=Sunday).
  • Does not account for daylight saving time changes.

Equivalent forms

  • 0 12 * * 0-1
  • 0 12 * * SAT-SUN

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 6-7 mean Saturday and Sunday?

In cron, 0 or 7 represents Sunday, 1 is Monday, ..., 6 is Saturday. The range 6-7 includes both Saturday (6) and Sunday (7).

Does this run on holidays?

Yes, unless the holiday falls on a Saturday or Sunday, in which case it runs as scheduled.

Can I make this run only on weekends in a specific timezone?

Yes, but you would need to adjust the hour (e.g., 12:00 UTC may not align with local weekend noon). Use a timezone-aware scheduler for this.