首页
Tom Utilities

Cron 表达式生成器

开发者实用工具

使用预设、通俗描述和接下来五次运行时间构建 Cron 调度。

使用方法

How to build a schedule

Choose a preset or type values into the minute, hour, day-of-month, month and day-of-week fields. The expression, description and upcoming runs update as you type.

  1. Pick a preset or enter your own five fields.
  2. Use * for every value and */n for intervals.
  3. Copy the finished expression with the copy button.

Field reference

Minutes and hours start at 0, days of month at 1, months at 1 (January) and days of week at 0 (Sunday). Ranges use a dash and lists use commas, for example 1-5 or 1,15,30.

常见问题

What does */5 mean?

It means every fifth value. In the minute field, */5 runs at minutes 0, 5, 10 and so on.

Does this support seconds?

The builder creates standard five-field cron expressions. Use the cron parser tool if you need to inspect six-field expressions with seconds.