Cron 表达式解析器:常见错误与修复方法
实践中真正会出现的失败模式、它们在输出中长什么样,以及具体的修复办法。
使用方法
- 先检查输入编码——多余的字节顺序标记或非 UTF-8 粘贴会在工具运行之前就破坏结果。
- 留意静默截断:如果输出长度是可疑的整数,说明有内容被切掉了。
- 确认你改动的选项正是任务所需;残留的默认值是"结果看似合理却错误"的最常见原因。
- 先用你能手工验证的最小输入重跑,再把真实数据加回去。
示例
Explains schedule + next runs.
输入
0 3 * * 1-5
输出 — 搜索结果
Minute 0 · Hour 3 · Day-of-month * · Month * · Day-of-week 1-5 Next runs: 2026-09-14 03:00 local 2026-09-15 03:00 local 2026-09-16 03:00 local 2026-09-17 03:00 local 2026-09-18 03:00 local 2026-09-21 03:00 local 2026-09-22 03:00 local 2026-09-23 03:00 local 2026-09-24 03:00 local 2026-09-25 03:00 local
运行
说明
Explain cron syntax and compute the next 10 run times.
相关工具
HTTP 状态 Code 查询表Search all HTTP status codes with meanings and usage notes.User-Agent 解析器Break a User-Agent string into browser, engine and OS.ASCII 字符表格Interactive reference of all 128 ASCII codes.Unicode 字符查询表Inspect code points, blocks and UTF encodings of any character..gitignore 生成器Assemble a .gitignore from curated stack templates.Base64 编码器Encode text, JSON, URLs or files to Base64, standard or URL-safe.