Crontab Guru

解析并解释 Cron 定时表达式,将其转换为易懂的人类自然语言描述。接收 5 段标准 Cron 格式输入,输出对应的执行频率与下一次调度时间说明。本工具仅按标准 Cron 语法生成定时说明,不提供后台任务调度或定时执行能力。

把工作日任务写成可复核的 Cron 表达式

适用于为已有调度系统编写或解释 Cron。本站的生成器输出标准五字段格式;解释器可按选项支持秒字段和常见别名。工具不会安装任务、执行命令或替你选择服务器时区。

操作步骤

  1. 先检查目标系统使用五字段、含秒六字段还是其他方言。本工具的五字段顺序为:分钟、小时、日期、月份、星期。
  2. 在生成模式填写时间字段,或在解释模式粘贴现有表达式。解释含秒表达式时,需要启用相应选项。
  3. 对照文字解释复核,再检查服务器时区、夏令时和调度器对日期与星期组合的语义,最后在目标系统配置任务。

工作日早上 9 点执行一次

输入

分钟 0;小时 9;日期 *;月份 *;星期 1-5

选项

标准五字段;星期从 0 表示周日的约定

输出 / 解析结果

0 9 * * 1-5

限制与常见问题

  • */15 * * * * 表示每小时的第 0、15、30、45 分钟,不是从提交任务的时刻起每隔 15 分钟。
  • 表达式不包含时区。09:00 是目标调度环境的当地时间,不能仅凭浏览器所在时区推断实际执行时间。
  • 校验通过不保证适用于 Quartz、云调度平台或所有系统。目标系统的秒字段、星期编号和日期/星期匹配规则仍需查证。

Write a weekday Cron schedule you can review

Use this tool to write or explain schedules for an existing scheduler. Its generator emits standard five-field expressions; the interpreter can optionally handle seconds and common aliases. It does not install jobs, execute commands or select the server timezone.

Steps

  1. Check whether the destination uses five fields, six fields including seconds or another dialect. The generator uses minute, hour, day of month, month and day of week.
  2. Fill in the generator fields or paste an existing expression into explanation mode. Enable the relevant option before interpreting an expression with seconds.
  3. Review the explanation, then check the server timezone, daylight-saving behavior and the scheduler’s day-of-month/day-of-week semantics before configuring the job.

Run once at 09:00 on weekdays

Input

minute 0; hour 9; day of month *; month *; day of week 1-5

Options

Standard five fields; weekday convention with 0 for Sunday

Output / inspection

0 9 * * 1-5

Limits and common issues

  • */15 * * * * selects minutes 0, 15, 30 and 45 of each hour; it does not mean every 15 minutes from the moment you submit a job.
  • The expression contains no timezone. 09:00 refers to the destination scheduler environment, not necessarily the browser timezone.
  • Successful validation does not establish compatibility with Quartz, every cloud scheduler or every operating system. Verify seconds, weekday numbering and day matching rules at the destination.