Forgebox
← All guides

Guide · Updated 2026-11-30

How to Read Cron Expressions

Break down five-field cron schedules, step values, day-of-week quirks, and timezone mistakes that cause jobs to run at the wrong time.

Related tool: Cron Explainer

The five fields

A common cron form uses minute, hour, day of month, month, and day of week. Each field can contain wildcards, lists, ranges, or step values. For example, */15 in the minute field means every fifteen minutes.

Some platforms add a seconds field or a year field. Always confirm which dialect your scheduler uses before copying an expression from a blog post.

Timezone and platform differences

The same expression can execute at different local times depending on server timezone. Containers that default to UTC are a frequent source of “why did this run at 3am?” surprises.

Day-of-month and day-of-week interactions can be confusing when both are restricted. Prefer simple schedules for critical jobs and document the intended plain-English meaning next to the expression.

Translate the expression to plain English before deploying. Forgebox Cron Explainer is built for that quick sanity check while you compare environments.

Operational hygiene

Add monitoring for missed runs, keep jobs idempotent when possible, and avoid stacking heavy jobs at midnight without capacity planning.

When daylight saving changes occur, review schedules that assume fixed local offsets. UTC-based schedules are often easier to reason about for distributed systems.