Tools Developer & Encoding Cron Expression Generator

Cron Expression Generator

Developer & Encoding 5.0 Active

Explain, validate, and preview cron expressions online. Get plain-English schedules, per-field breakdowns, and upcoming run times — free, no signup.

37,379
21,209
7,839
Updated Dec 14 Use Tool

Tool Interface

Next run times

  • Five fields, in order: minute hour day-of-month month day-of-week
  • * means "every" value for that field
  • */15 means "every 15" (e.g. every 15 minutes)
  • 1-5 means a range (e.g. Monday through Friday)
  • 1,15,30 means a specific list of values
  • Months and weekdays can use names: JAN–DEC, SUN–SAT
  • Shorthand macros work too: @yearly, @monthly, @weekly, @daily, @hourly
  • The quirky rule: if both day-of-month and day-of-week are restricted (neither is *), a match happens on days where either condition is true — not both.

Rate this tool

SPONSORED

About This Tool

Cron Expression Generator – Create Cron Schedules Online

Creating the right cron expression by hand is fiddly — one wrong field and your backup runs at noon instead of midnight. Trencada's Cron Expression Generator takes the guesswork out: type or pick any cron expression and instantly see it explained in plain English, broken down field by field, with the next upcoming run times listed for you. It runs 100% in your browser, is completely free, and needs no signup.

How to Use the Cron Expression Tool

  1. Enter your cron expression. Type any five-field expression into the "Cron expression" field (it starts pre-filled with 0 9 * * 1-5). The explanation updates live as you type.
  2. Or pick a preset. One click loads a common schedule: Every minute, Every 15 minutes, Every hour, Every day at midnight, Weekdays at 9 AM, First of every month, Every Sunday, or Yearly (@yearly). Shorthand macros such as @daily, @weekly, @monthly, @midnight, @hourly, and @annually work too.
  3. Read the plain-English explanation. The tool converts the expression into a clear sentence, for example "At 9:00 AM, on Monday, Tuesday, Wednesday, Thursday, Friday."
  4. Inspect the field breakdown. Five cards show each field — Minute, Hour, Day of month, Month, Day of week — with its raw value and what it means. This makes field-order mistakes easy to spot.
  5. Preview upcoming runs. Use the "Next run times" dropdown to see the Next 5, 10, or 20 scheduled executions with exact dates and times, so you can confirm the schedule before deploying it.
  6. Check the syntax reference. Expand "Cron Syntax Reference" for a quick reminder of the field order, special characters, and the quirky rule that applies when both day-of-month and day-of-week are restricted.
  7. Fix mistakes instantly. An invalid expression shows a clear error message naming the field and the problem, so you can correct it before it ever reaches your server.

Key Features

  • Plain-English explanations of any standard five-field cron expression.
  • Field-by-field breakdown cards that decode every value in the expression.
  • Next run time preview — the next 5, 10, or 20 upcoming executions with exact dates and times.
  • 8 one-click presets for the most common schedules, plus support for @yearly, @monthly, @weekly, @daily, @midnight, and @hourly macros.
  • Instant validation with clear, field-specific error messages.
  • Full syntax support: lists (1,15,30), ranges (1-5), steps (*/15), wildcards (*), month names (JAN–DEC), and weekday names (SUN–SAT).
  • Handles the day-of-month / day-of-week OR rule and warns you when it applies to your expression.
  • 100% client-side — no uploads, no accounts, and no tracking of your expressions.

Common Cron Expression Examples

Cron ExpressionCommon Meaning
* * * * *Every minute
*/5 * * * *Every 5 minutes
0 * * * *At the start of every hour
0 0 * * *Every day at midnight
0 9 * * *Every day at 9:00 AM
0 9 * * 1-5Weekdays at 9:00 AM
30 8 * * 1-5Weekdays at 8:30 AM
0 0 * * 0Every Sunday at midnight
0 0 1 * *First day of every month
0 0 1 1 *January 1 at midnight

These examples use traditional five-field cron syntax (minute, hour, day-of-month, month, day-of-week). Some schedulers use six or seven fields, so always check your platform's documentation before deploying.

Special Characters in Cron Expressions

  • Asterisk * — "every" value in that field. * * * * * commonly means every minute.
  • Comma , — multiple values. 0 9,12,18 * * * can mean 9:00 AM, noon, and 6:00 PM every day.
  • Hyphen - — a range. 0 9 * * 1-5 commonly means Monday through Friday at 9:00 AM.
  • Slash / — an interval. */15 * * * * commonly means every 15 minutes.

Why Choose Trencada?

  • Free and unlimited — explain and validate as many expressions as you like.
  • No signup, no uploads — everything runs locally in your browser, so your schedules stay private.
  • Instant and accurate — live explanations, field decoding, and real upcoming run times.
  • Built for real workflows — from developers scheduling scripts to system administrators planning backups and maintenance.
  • Part of a complete developer toolkit — pair it with our free timestamp converter when you need exact epoch times for scheduled events, or our htpasswd generator when you protect staging areas that maintenance jobs touch.

Frequently Asked Questions

What is a cron expression?

A cron expression is a schedule pattern used by cron-based systems to determine when a recurring task runs. Traditional five-field syntax covers minute, hour, day of month, month, and day of week.

How do I create a cron expression?

Determine when the task should run, then set the minute, hour, day-of-month, month, and day-of-week fields in that order. You can paste your result into the tool above to validate it and preview the next run times.

What does * * * * * mean in cron?

In traditional five-field cron syntax, * * * * * commonly means every minute.

What does */5 * * * * mean?

This commonly means the task runs every five minutes. The slash specifies the interval between executions.

What does 0 9 * * * mean?

In traditional cron syntax, 0 9 * * * commonly means 9:00 AM every day.

What does 0 0 * * * mean?

This commonly represents a task that runs every day at midnight.

How do I schedule a cron job every hour?

A common five-field cron expression is 0 * * * *. It runs at minute zero of every hour.

How do I create a weekday cron schedule?

A common expression for 9:00 AM Monday through Friday is 0 9 * * 1-5. The 1-5 range represents weekdays in many traditional implementations.

Does cron use a 24-hour clock?

Traditional cron uses numeric hour values from 0 through 23, so 18 means 6:00 PM.

Does every cron scheduler use the same syntax?

No. Different systems support different numbers of fields and special characters. Always check the documentation for your specific platform.

Can I use cron expressions on Windows?

Traditional cron is associated with Unix and Unix-like systems. Windows provides its own schedulers, such as Task Scheduler, although third-party cron tools also exist.

Why is my cron job running at the wrong time?

Time zone configuration is a common reason. Check the time zone used by the server or scheduler, and double-check the field order in your expression.

Can this tool validate my cron expression?

Yes. Paste any expression into the field and the tool checks it instantly. Invalid syntax shows a clear error naming the field and the problem, so you can fix it before deploying.

Does the tool support @daily and other shorthand macros?

Yes. The tool understands @yearly (and @annually), @monthly, @weekly, @daily, @midnight, and @hourly, expanding each to its five-field equivalent and explaining it like any other expression.

Is the Cron Expression tool free?

Yes. The Cron Expression tool on Trencada is free for creating and understanding supported cron expressions — no signup needed.

Category: Developer & Encoding

Tool Information

Category Developer & Encoding
Updated Dec 14
Status Active
Rating 5.0
Type Free Tool
21,209 people used this tool

You May Also Like

View All

2026 Quick-Preset Specifications & Portal Requirements Cheat Sheet

PORTAL UPLOAD SPECUnder 100 KB / 200 KB PDF150 DPI downsample + XMP metadata strip
LEGAL BATES STAMP6-Digit Prefix (CASE-000001)Bottom-right 32pt safe margin with zero text overlap
TRUE SANITIZATIONDestructive Raster RedactionPurges hidden Tj text streams, OCR layers & XMP data
PAGE NORMALIZATIONUS Letter 8.5x11 (612x792 pt)Centers receipt photos & A4 scans without stretching

Frequently Asked Technical & Privacy Questions

Are my confidential PDFs uploaded to a server when I merge, compress, or redact?

No. Merge, compress, and redact run 100% locally in your browser using WebAssembly, so your files never leave your computer. Most of our tools work this way. The exceptions are Excel to PDF and PowerPoint to PDF, which send your file to our server for conversion and delete it after processing.

Why is drawing a black rectangle over text in a PDF not real redaction?

A black shape drawn in a standard viewer only sits on an annotation layer above the text. Trencada destroys the underlying text tokens and rasterizes the redacted region permanently.

How do I add sequential 6-digit Bates numbering without paying for Adobe Acrobat Pro?

Open Trencada Bates Numbering PDF tool, enter your case prefix and starting number, choose 6-digit zero padding (000001), and stamp your discovery set locally.

Saved time with Trencada? All 450+ tools are 100% free with zero paywalls, zero signups, and zero cloud uploads.Rate Trencada on Trustpilot ★
Trustpilot