Crontab 定时表达式生成与解析
免费在线 Crontab 表达式生成器和解析工具,可视化构建定时任务或输入表达式获取通俗易懂的中文说明。
Presets:
At 09:00 AM, Monday through Friday
┌───────── minute (0-59)
│ ┌─────── hour (0-23)
│ │ ┌───── day of month (1-31)
│ │ │ ┌─── month (1-12)
│ │ │ │ ┌─ day of week (0-6, Sun=0)
* * * * *
│ ┌─────── hour (0-23)
│ │ ┌───── day of month (1-31)
│ │ │ ┌─── month (1-12)
│ │ │ │ ┌─ day of week (0-6, Sun=0)
* * * * *
AI developer workflow fit
Use Crontab 定时表达式生成与解析 while building with AI coding assistants, agents, and LLM workflows: validate generated output, transform payloads, debug integrations, and prepare reliable inputs without leaving your browser.
Crontab 定时表达式生成与解析free Crontab 定时表达式生成与解析online Crontab 定时表达式生成与解析Crontab 定时表达式生成与解析 for developersCrontab 定时表达式生成与解析 for AI developersCrontab 定时表达式生成与解析 for vibe codingCrontab 定时表达式生成与解析 no signupCrontab 定时表达式生成与解析 browser toolcroncrontab
什么是 Crontab 表达式?
Crontab(定时任务表)表达式是一种由五个字段组成的紧凑字符串,用于在类 Unix 系统中定义周期性执行计划。五个字段分别表示:分钟、小时、日期、月份和星期。Cron 表达式被广泛用于定时备份、报表生成、日志轮转和自动化部署等场景。本工具支持解析已有的 cron 表达式并转换为通俗说明,也支持逐字段交互式构建新的表达式。
How to use Crontab 定时表达式生成与解析
- Paste, upload, or enter the cron, crontab, schedule, expression, explain, generate input required by the tool.
- Adjust any options such as format, mode, output style, size, or validation behavior.
- Review the generated result, parsed details, warnings, or converted output in the preview area.
- Copy or download the result for tests, documentation, API debugging, game assets, or AI coding prompts.
Common Crontab 定时表达式生成与解析 use cases
- Developer debugging — Use Crontab 定时表达式生成与解析 to quickly inspect generated output, API payloads, configuration values, or encoded data while building and debugging software.
- AI-assisted coding workflows — Validate or transform examples produced by AI coding assistants before pasting them into source code, tests, documentation, or issue comments.
- Privacy-first browser processing — Run common cron, crontab, schedule, expression, explain, generate tasks locally in the browser without sending sensitive development data to a backend service.
FAQ
cron 表达式的五个字段分别是什么意思?
从左到右依次为:分钟(0-59)、小时(0-23)、日期(1-31)、月份(1-12)和星期(0-6,0 表示周日)。星号(*)表示该字段的所有值。
*/15 在 cron 字段中是什么意思?
斜杠表示「每隔 N 个单位」。例如分钟字段中的 */15 表示「每隔 15 分钟」,即在第 0、15、30、45 分钟执行。
支持 6 字段或 7 字段的 cron 表达式吗?
本工具专注于标准的 5 字段 Unix crontab 格式。部分系统(如 Quartz、Spring)使用包含秒或年的 6-7 字段格式,这些在此不受支持。
可以使用 MON-FRI 这样的星期名称吗?
标准 crontab 格式使用数字(0-6)表示星期。虽然部分 cron 实现支持三字母缩写(MON、TUE 等),但本工具使用数字值或范围(如 1-5)。