Cron Expression Explainer

Paste a cron expression, get a plain-English explanation plus the next 5 run times. Handles macros (@daily, @hourly), ranges, and steps. Free, in-browser.

Common patterns

What this does

Takes a cron expression — the 5-field schedule strings used by Unix cron, anacron, Kubernetes CronJob, GitHub Actions, AWS EventBridge, and most other schedulers — and tells you in plain English what it means, plus the next 5 times it would actually fire (in your local time zone).

The 5 fields, in order

* * * * *
| | | | |
| | | | └── day of week  (0–6, where 0 = Sunday; some systems also accept 7 = Sunday)
| | | └──── month        (1–12)
| | └────── day of month (1–31)
| └──────── hour         (0–23)
└────────── minute       (0–59)

Each field accepts:

  • A specific number (5 = the 5th)
  • A range (1-5 = Mon–Fri in the day-of-week field)
  • A list (1,15 = the 1st and 15th of the month)
  • An interval (*/15 = every 15 units)
  • A wildcard (* = every value)

Day-of-week names (MON, TUE, WED, …) and month names (JAN, FEB, …) work too.

Macros

Many cron implementations accept these shortcuts:

MacroEquivalentMeaning
@yearly / @annually0 0 1 1 *Once a year, midnight Jan 1
@monthly0 0 1 * *First of every month, midnight
@weekly0 0 * * 0Sunday midnight
@daily / @midnight0 0 * * *Every day at midnight
@hourly0 * * * *Top of every hour

These are NOT supported by every cron implementation. POSIX cron and BusyBox don’t accept them. GNU cron (Debian/Ubuntu/Fedora) does. AWS EventBridge does not — use cron(0 0 * * ? *) instead.

The day-of-month vs day-of-week gotcha

This trips up almost everyone. When BOTH day-of-month and day-of-week are restricted, cron treats them as OR, not AND.

0 0 1 * 1     # Runs at midnight on the 1st OR every Monday

Most users assume that means “the 1st if it’s a Monday.” It doesn’t — that schedule fires on every 1st AND every Monday. To get “1st only if Monday”, you need a wrapper script that checks the date.

This tool’s “next runs” calculation handles the OR semantics correctly. If you see runs you didn’t expect, that’s why.

Common scheduling mistakes

  • Setting */7 for “every 7 minutes.” Actually fires at minutes 0, 7, 14, 21, 28, 35, 42, 49, 56 — then jumps 4 minutes to the next 0 of the next hour. Steps reset on each hour boundary. Use 0,7,14,21,28,35,42,49,56 if you want to be explicit.
  • Day-of-month 31 in months with 30 days. Cron silently skips. February with day 30 or 31 just won’t fire.
  • Time zone confusion. Cron uses the system’s local time zone (usually UTC on Linux servers, sometimes local on workstations). AWS EventBridge defaults to UTC. Kubernetes CronJob defaults to the cluster’s time zone setting. Always confirm the time zone before relying on a schedule.
  • Forgetting that 0 9 * * MON-FRI skips holidays. Cron doesn’t know about US Independence Day. Application logic must.

Cron implementations and their quirks

  • Standard Unix cron (POSIX) — strict 5 fields, no macros, no seconds, no ?/L/W characters.
  • GNU/Vixie cron (Debian, Ubuntu, RHEL) — accepts macros (@daily).
  • Quartz cron (Java, Spring) — 6 or 7 fields including seconds and year. Different syntax for day-of-week. Supports ?, L (last), W (weekday-nearest).
  • AWS EventBridge — 6 fields, requires ? on either day-of-month or day-of-week (mutually exclusive). No 0 in day-of-week (uses 1 for Sunday).
  • Kubernetes CronJob — standard 5-field cron, no macros, no seconds.

This tool implements the standard 5-field syntax (Unix/Debian/K8s/EventBridge-compatible after stripping the EventBridge ?).

Privacy

Runs entirely in your browser. No expressions sent anywhere.

Explore More Free Tools

🔧

Aspect Ratio Calculator

Calculate width, height, or ratio. Solve any one from the other two. 16:9, 4:3, 21:9, 9:16, 1:1, custom. Free, runs in your browser.

🔧

BPM to Milliseconds Calculator

Convert BPM to delay times in milliseconds. Whole, half, quarter, 1/8, 1/16, 1/32 notes plus dotted and triplet variants. Free tempo-sync calculator for producers.

🔧

Chmod Calculator

Convert chmod permissions between octal (e.g. 755) and symbolic (rwxr-xr-x) form. Toggle read/write/execute checkboxes for owner, group, and other. Free, runs in your browser.

🔧

Color Contrast Checker

Check color contrast for WCAG AA and AAA compliance. Live preview, hex and rgb support, instant pass/fail across 5 levels. Free, in-browser.

🔧

CSV to Markdown Table

Paste CSV (or TSV), get a clean GitHub-flavored Markdown table. Auto column alignment, header detection, custom delimiters. Free, in-browser.

🔧

Cubic Bezier Generator

Visual editor for CSS cubic-bezier() easing curves. Drag the control handles, see the live animation, copy the CSS. Free, in-browser.

🔧

Env to JSON Converter

Convert .env files to JSON instantly. Handles quoted values, comments, escape sequences, and type coercion. Free, runs in your browser, no signup.

🔧

HTML Entity Encoder & Decoder

Encode and decode HTML entities — minimal, named, numeric, or hex. Handles &, <, >, accented characters, em dash, smart quotes. Free, browser-based.

🔧

HTTP Status Code Lookup

Searchable reference for every HTTP status code. 1xx, 2xx, 3xx, 4xx, 5xx, plus Cloudflare 5xx codes. Free, instant lookup, runs in your browser.

🔧

JSON Diff

Compare two JSON values semantically. Shows added, removed, and changed keys with the exact path. Free, runs in your browser.

🔧

JSON to Go Struct Generator

Convert JSON to idiomatic Go structs with json tags, time.Time detection, omitempty support. Free, in-browser.

🔧

JSON to TypeScript Interface Generator

Paste JSON, get TypeScript interfaces. Handles nested objects, arrays, unions, optional fields. No signup, runs in your browser.

🔧

Lorem Ipsum Generator

Generate placeholder text. Classic Lorem Ipsum, hipster, corporate, and dev variants. Words, sentences, paragraphs, lists. Free, in-browser.

🔧

Markdown to HTML Converter

Convert Markdown to HTML with live preview. Headings, lists, code blocks, links, images, blockquotes. Free, in-browser.

🔧

Number Base Converter

Convert numbers between binary, octal, decimal, hex, and any base from 2 to 36. BigInt-safe for large values. Free, in-browser.

🔧

Slugify Text

Generate URL-safe slugs from any text. Handles accents, Unicode, stop words, custom separators, length limits. Free, in-browser.

🔧

Text Case Converter

Convert text to camelCase, snake_case, kebab-case, PascalCase, CONSTANT_CASE, Title Case, and 7 more. Free, instant, in-browser.

🔧

YAML Validator

Validate YAML syntax, find duplicate keys, indentation issues, tabs in indent, and trailing whitespace. JSON preview included.

🔧

Cron Expression Generator

Generate and validate cron expressions with a visual builder. See next execution times, human-readable descriptions, and common presets. Free online crontab generator for developers.

🔧

JWT Decoder

Decode and inspect JWT tokens instantly. View header, payload, and signature. Check expiration, issuer, and claims. Free online JWT decoder — no data sent to any server.

🔧

Regex Tester

Test regular expressions with real-time matching and highlighting. Supports JavaScript regex flags (g, i, m, s). See match groups, captures, and indices. Free online regex tester.

🔧

Unix Timestamp Converter

Convert Unix timestamps to human-readable dates and vice versa. Supports seconds and milliseconds. Shows current epoch time live. Free online tool for developers.

🔧

UUID Generator

Generate random UUIDs (v4), time-based UUIDs (v7), and ULIDs instantly. Bulk generate up to 100 at once. Free online UUID generator for developers — no signup required.

🔧

Base64 Encoder & Decoder

Encode text to Base64 or decode Base64 back to plain text instantly. Free online Base64 converter with file support and batch processing. No registration required.

🎨

Color Palette Generator

Generate beautiful color palettes instantly. Create complementary, analogous, triadic, and monochromatic color schemes for web design, branding, and creative projects.

📝

JSON Formatter & Validator

Format, validate, and beautify JSON data instantly with our free online JSON formatter. Supports minification, syntax highlighting, and error detection. No registration required.

🔧

JSON to YAML Converter

Convert JSON to YAML and YAML to JSON instantly with our free online converter. Supports validation, formatting, and syntax highlighting. No registration required.

🔑

Password Generator

Generate strong, secure passwords instantly with our free password generator. Customize length, character types, and complexity. No registration required, privacy-focused.

📊

Percentage Calculator

Calculate percentages, percentage increases/decreases, and compare values instantly. Free online percentage calculator with multiple calculation types and detailed results.

🔧

SEO Meta Tag Generator

Generate SEO-optimized meta tags instantly. Create title tags, meta descriptions, Open Graph tags, and Twitter Cards for better search engine visibility.

🔧

Subnet Calculator

Plan IPv4 subnets visually. Enter a CIDR block, split it, see network/broadcast/host counts. Free, runs in your browser.

🔧

Tools Sitemap

Complete list of all free developer tools available on Ataiva. Find password generators, JSON formatters, converters, and more utilities for developers.

📏

Unit Converter

Convert between various units such as length, weight, temperature, and more.

📄

Word Counter & Text Analyzer

Count words, characters, sentences, and paragraphs instantly. Analyze readability, text complexity, and writing style with our text analyzer.