Preview cron schedule, next run times, and detect overlapping jobs. / 预览Cron调度计划、下次执行时间,并检测重叠任务。
---
name: cron-expression-debugger
description: "Preview cron schedule, next run times, and detect overlapping jobs. / 预览Cron调度计划、下次执行时间,并检测重叠任务。"
version: 1.0.0
topics: [cron,scheduling,automation,workflow,定时任务,调度调试]
metadata:
openclaw:
requires:
bins:
- bash
- curl
emoji: "⏰"
homepage: https://kingai.work/
install: []
---
# ⏰ Cron Expression Debugger / Cron表达式调试器
> Preview cron schedule, next run times, and detect overlapping jobs. / 预览Cron调度计划、下次执行时间,并检测重叠任务。
> 🦁 **由 KingAI.Work 出品** — 智能进化|vip@kingai.work
---
## Overview / 概览
• Preview next 100 run times instantly / 即时预览未来100次执行时间,精准掌控任务排期
• Detect overlapping jobs across multiple cron expressions / 智能检测多个表达式间的任务重叠,避免资源冲突
• Visual timeline chart for schedule analysis / 可视化时间线图表,让调度模式一目了然
• Human-readable translation of complex expressions / 将复杂表达式翻译成易懂的自然语言描述
• Bulk validation of cron syntax with error pinpointing (Pro) / 批量验证Cron语法并精准定位错误(Pro专属)
• Auto-optimize schedules to avoid peak hours and conflicts (Pro) / 自动优化调度策略,避开高峰时段与冲突(Pro专属)
## How It Works / 原理
```bash
# Step 1 — check environment
which bash curl && echo "Ready"
# Step 2 — run the tool
cron-debug "*/15 * * * 1-5" --next 5 --timeline Shows next 5 run times and timeline for a weekday-every-15-minutes cron job / 展示工作日每15分钟运行的计划,含下次执行时间与时间线
# Step 3 — review output
echo "Done — check the generated output"
```
## Example Scenarios / 示例场景
• Debugging a misconfigured nightly backup job that runs twice instead of once / 夜间备份任务因配置错误重复执行,快速定位并修复调度冲突
• Validating a suite of cron jobs before deploying to production / 部署上线前批量校验所有Cron表达式,确保生产环境零事故
• Explaining complex schedules to non-technical team members during planning / 向非技术人员直观解释复杂调度逻辑,提升团队协作效率
## Plans / 版本
| Capability | Free | Pro |
|-----------|:----:|:---:|
| Basics / 基础 | ✅ | ✅ |
| Automation / 自动化 | — | ✅ |
| AI / AI 功能 | — | ✅ |
| Support | Community | Priority |
• Unlock bulk validation for teams managing hundreds of cron jobs
• 团队管理数百个Cron任务时,批量验证功能让效率翻倍
• Access schedule optimization to reduce server load and costs
• 自动优化调度策略,有效降低服务器负载与运营成本
• Export detailed reports for compliance and auditing purposes
• 导出详尽报告,轻松满足合规审计与运维复盘需求\n\n
---
*Published by King AI — kingai.work*
don't have the plugin yet? install it then click "run inline in claude" again.