Qaynaq LABS · TOOLS

CRON · DECODE

0 0 1 * *

This cron expression runs at midnight (00:00) on the first day of every month.

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 * The day-of-week field is ignored because the day-of-month field is specified.

Next fires (UTC)

  • 2023-12-01 00:00:00 UTC
  • 2024-01-01 00:00:00 UTC
  • 2024-02-01 00:00:00 UTC
  • 2024-03-01 00:00:00 UTC

Watch out for

  • The day-of-week field is ignored when day-of-month is specified (non-standard behavior in some cron implementations).
  • If the first day of the month is a weekend, this will still run at midnight UTC.

Equivalent forms

  • 0 0 1 * ?
  • 0 0 1 JAN-DEC *
  • 0 0 1 * * ?

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 is the day-of-week field ignored?

In standard 5-field cron, if the day-of-month field is specified (e.g., '1'), the day-of-week field is ignored unless the implementation explicitly supports both fields simultaneously (e.g., Quartz cron).

Does this run at midnight local time or UTC?

This runs at midnight UTC unless the cron system is configured to use a different timezone.

Can I make this run at the start of the business day in a specific timezone?

Yes, but you would need to adjust the hour/minute fields (e.g., '0 9 1 * *' for 9 AM UTC) and configure the cron system to use the desired timezone.