Skip to content
Esc
  • MQTT Topic MatcherTest MQTT topic filters with + and # wildcards against topics, and check ACL patterns.
  • JSON FormatterBeautify, minify and validate JSON instantly as you type.
  • JSON DiffCompare two JSON documents and see every added, removed and changed value by path.
  • JSON to TypeScriptGenerate TypeScript interfaces or Zod schemas from a sample JSON response.
  • Base64 Encoder/DecoderConvert text to Base64 and back, with full Unicode support.
  • UUID GeneratorGenerate random v4 UUIDs — one or many — in the format you need.
  • JWT DecoderDecode JSON Web Tokens to inspect the header, payload and expiry.
  • Timestamp ConverterConvert Unix timestamps to dates and dates to timestamps.
  • URL Encoder/DecoderPercent-encode and decode URLs, and break down query strings.
  • Hash GeneratorGenerate MD5, SHA-1, SHA-256 and SHA-512 hashes of text or files.
  • Regex TesterTest regular expressions with live match highlighting and groups.
  • YAML to JSON ConverterConvert YAML to JSON and JSON to YAML, with clear error locations.
  • SQL FormatterBeautify or minify SQL for PostgreSQL, MySQL, SQL Server and 9 more dialects.
  • Mock Data GeneratorGenerate realistic fake data for API mocks as JSON, CSV or SQL inserts.
  • HTTP Header AnalyzerGrade response headers: CSP, HSTS, cookies, CORS and caching, explained.
  • Webhook Signature VerifierVerify and generate webhook signatures for GitHub, Stripe, Slack, Shopify and more.
  • Cron Expression GeneratorBuild and explain cron schedules, with the next run times in any time zone.
  • .env File ValidatorFind syntax errors, duplicates and missing keys in .env files.
  • HTML to JSX ConverterConvert HTML to valid React JSX: className, style objects, self-closing tags.
  • SVG to React ComponentTurn SVG files into React icon components with props and currentColor.
  • Markdown EditorWrite Markdown with a live preview, GitHub tables and task lists, and HTML export.

↑ ↓ to moveEnter to openPaste data to open it in the right tool. Nothing leaves your browser.

Cron Expression Generator

Write or build a cron schedule and see what it means in plain English, plus the next 10 times it will run in any time zone.

Last updated

How to use the Cron Expression Generator

  1. Start from a preset

    Pick a common schedule such as every 15 minutes or weekdays at 09:00.

  2. Adjust the fields

    Edit the whole expression, or one field at a time: minute, hour, day of month, month and day of week.

  3. Check the meaning

    The plain-English description and the next 10 runs confirm the schedule does what you expect.

  4. Pick the time zone

    Preview runs in the zone your server or scheduler uses, then copy the expression.

Features

  • Standard 5-field cron (minute, hour, day of month, month, day of week)
  • Lists, ranges and steps: 1,15 · 9-17 · */10 · 5/15
  • Month and weekday names (JAN–DEC, SUN–SAT), and 0 or 7 for Sunday
  • Shortcuts: @yearly, @annually, @monthly, @weekly, @daily, @midnight and @hourly
  • Plain-English description and a field-by-field breakdown
  • Next 10 run times in any IANA time zone, with UTC alongside
  • Explains the day-of-month OR day-of-week rule, and warns about schedules that never run
  • Clear errors for out-of-range values and 6-field (seconds) expressions

Privacy

Your expressions are processed by JavaScript in your browser tab. Nothing is uploaded or stored, and the page's security policy blocks it from sending data to any other site.

Read the DevNest privacy policy

Examples

  • Weekdays at 09:00

    A daily job that skips weekends.

    Expression

    0 9 * * 1-5

    Meaning

    At 09:00, on Monday through Friday.
    
    Next runs (UTC, from 2026-03-06T12:00Z):
    Mon, 9 Mar 2026, 09:00
    Tue, 10 Mar 2026, 09:00
    Wed, 11 Mar 2026, 09:00
    Thu, 12 Mar 2026, 09:00
  • Every 15 minutes in business hours

    Steps and ranges together: */15 in minutes, 9-17 in hours.

    Expression

    */15 9-17 * * 1-5

    Meaning

    Every 15 minutes from 09:00 through 17:59, on Monday through Friday.
    
    Next runs (UTC, from 2026-03-06T12:00Z):
    Fri, 6 Mar 2026, 12:15
    Fri, 6 Mar 2026, 12:30
    Fri, 6 Mar 2026, 12:45
    Fri, 6 Mar 2026, 13:00
  • The Friday the 13th trap

    Both day fields are set, so this runs on every 13th and every Friday.

    Expression

    0 0 13 * 5

    Meaning

    At 00:00, on day 13 of the month, or on Friday.
    
    Next runs (UTC, from 2026-03-06T12:00Z):
    Fri, 13 Mar 2026, 00:00
    Fri, 20 Mar 2026, 00:00
    Fri, 27 Mar 2026, 00:00
    Fri, 3 Apr 2026, 00:00
    Fri, 10 Apr 2026, 00:00

Understanding cron expressions

Cron syntax

┌──────── minute (0–59)
│ ┌────── hour (0–23)
│ │ ┌──── day of month (1–31)
│ │ │ ┌── month (1–12 or JAN–DEC)
│ │ │ │ ┌ day of week (0–7 or SUN–SAT; 0 and 7 are Sunday)
│ │ │ │ │
0 9 * * 1-5
SymbolMeaningExample
*Every value* in hour = every hour
,List1,15 = the 1st and 15th
-Range9-17 = 09:00 through 17:59
/Step*/10 = every 10 minutes

The day-of-month and day-of-week trap

When both day fields are restricted, standard cron runs when either one matches — not both. 0 0 13 * 5 runs at midnight on every 13th of the month and on every Friday, not only on Friday the 13th. The tool warns you whenever both fields are set.

Time zones and daylight saving

Cron runs in the time zone of the machine or scheduler: often UTC on servers and in Kubernetes CronJobs, but your local zone on a laptop. Choose the right zone before trusting the preview. On days when clocks change, a time such as 02:30 may not exist or may happen twice. This preview skips times that don't exist; real cron daemons differ, and some run skipped jobs straight after the change — so avoid scheduling important jobs between 01:00 and 03:00 local time.

Common cron expressions

ExpressionRuns
*/5 * * * *Every 5 minutes
0 * * * *At the start of every hour
0 0 * * *Every day at midnight
0 9 * * 1-5Weekdays at 09:00
0 0 1 * *At midnight on the 1st of every month
0 3 * * 0Sundays at 03:00

Frequently asked questions

What does */15 mean in cron?

A step: every 15 units, starting from the field's minimum. In the minute field, */15 runs at minutes 0, 15, 30 and 45.

Does cron support seconds?

Standard cron doesn't. 6-field expressions with seconds come from schedulers such as Quartz and Spring. This tool checks standard 5-field expressions and tells you when it sees 6 fields.

Why does my job run on more days than expected?

If you set both day of month and day of week, cron runs when either one matches. Set one of them to * to require only the other.

Which time zone does cron use?

The time zone of the system running it — often UTC on servers. Kubernetes CronJobs and many cloud schedulers let you set a time zone explicitly. Use the time zone picker to preview runs in that zone.

Is Sunday 0 or 7?

Both. In standard cron, 0 and 7 both mean Sunday, and you can also write SUN.