Skip to content

计算工具

Cron 解释器

免费 cron 表达式解码器。粘贴一个五字段 cron 表达式,即可获得其运行时间的普通语言描述。适用于 pg_cron、Linux crontab、GitHub Actions。

Runs in your browser

编辑注

Understanding · Five fields, a whole schedule.

本深度章节目前仅有英文版本。上方的转换工具支持您的语言;长篇说明文章尚未翻译。

常见问题

Quick answers.

What are the 5 cron fields?

minute (0-59), hour (0-23), day-of-month (1-31), month (1-12), day-of-week (0-7, both 0 and 7 mean Sunday).

How do I run something every 15 minutes?

Use */15 * * * * — that's 'every 15 minutes, every hour, every day'.

What does the '?' mean?

Quartz/Java cron uses '?' to mean 'no specific value' in either day-of-month or day-of-week. Standard Unix cron doesn't use it.

Day of week — is Sunday 0 or 7?

Both, in standard Unix cron. Some systems (Quartz) use 1-7 with Sunday = 1. We follow Unix convention.

Is the explainer free?

Yes — fully free, no signup, runs in your browser.

大家也在搜索

Use with

What people reach for next.

相关工具

More in this room.

查看所有 计算工具