iToolsPro

Cron Expression Builder

Visually build schedule expressions, decode each field, and preview the next 5 run times

Visual builder
Generated expression
Parse expression
Cron expression (min hour dom month dow)
Field breakdown
Next 5 run times
Minute · Hour · Day · Month · Week

Cron schedules, made clear

Build cron expressions visually, decode every field, and preview the next 5 run times.

100% local · pure in-browser

Features

Visual builder
Pick minute, hour, day, month and weekday field by field to build a valid cron expression.
Reverse parser
Split any expression into 5 fields and translate it into human-readable schedule text.
Next run times
Compute the next 5 execution times from now, with the weekday for each.

Use cases

💾 Scheduled backups 🔁 Data sync ⚙️ Cron jobs 🎓 Learning cron

Cron 表达式生成器使用指南Cron Expression Builder Guide

了解 Cron 表达式结构、字段语法与常见问题。How cron expressions work, field syntax, and answers to common questions.

Cron 表达式结构Cron Expression Structure

标准 Cron 表达式由 5 个字段组成,以空格分隔:分 时 日 月 周。例如 0 9 * * 1 表示每周一 9:00 执行。

A standard cron expression has 5 space-separated fields: minute hour day-of-month month day-of-week. For example 0 9 * * 1 runs every Monday at 9:00.

字段语法Field Syntax

支持 *(任意)、*/n(每 n 单位)、a-b(范围)、a-b/n(范围步进)与 a,b,c(列表)五种写法。

Supported: * (any), */n (every n), a-b (range), a-b/n (range step) and a,b,c (list).

使用步骤How to Use

  1. 在左侧逐字段选择调度时间,右侧实时生成表达式。Pick the schedule field by field on the left; the expression updates live.
  2. 或直接输入表达式,查看字段解析。Or type an expression to see it parsed.
  3. 查看最近 5 次执行时间验证调度。Verify with the next 5 run times.

常见问题FAQ

Q1. 支持 Quartz 的 6 段表达式吗?Q1. Does it support Quartz 6-field expressions?

当前支持标准 5 字段(分 时 日 月 周),最常用且兼容 crontab。Currently 5 fields (minute hour day month weekday), the most common and crontab-compatible.

Q2. 日和周同时设置时如何生效?Q2. When both day and weekday are set, how does it work?

标准语义下两者都非 * 时取"或":任一命中即执行。When both are restricted, standard cron treats them as OR - either match triggers.

Q3. 预测结果准吗?Q3. Are the predictions accurate?

按本地时区逐分钟计算,并处理了 2 月 30 日等不存在日期。Computed minute-by-minute in your local timezone, handling impossible dates like Feb 30.