返回顶部
c

crontab-wizard定时任务助手

Explain, generate, validate, and preview crontab expressions. Use when a user needs to understand what a cron expression means, create a new cron schedule, check if a cron expression is valid, or see when a cron job will run next. Supports standard 5-field cron syntax and shortcuts like @daily, @hourly, @weekly. No dependencies required.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
234
下载量
免费
免费
1
收藏
概述
安装方式
版本历史

crontab-wizard

Crontab 向导

从命令行解码、生成、验证和预览 cron 调度。零依赖。

快速开始

bash

解释 cron 表达式的含义


python3 scripts/cronwiz.py explain /5 *

从选项生成表达式

python3 scripts/cronwiz.py generate --every 5m

检查表达式是否有效

python3 scripts/cronwiz.py validate 0 9 1-5

查看下次运行时间

python3 scripts/cronwiz.py next 0 9 1-5 --count 10

命令

explain — 将 cron 解码为通俗英语

bash
python3 scripts/cronwiz.py explain 30 2 0

→ 在 02:30,每周日

python3 scripts/cronwiz.py explain @daily

→ 在 00:00

python3 scripts/cronwiz.py explain 0 /6

→ 在第 0 分钟,每 6 小时

validate — 检查错误

bash
python3 scripts/cronwiz.py validate 0 9 1-5

→ 有效:0 9 1-5

python3 scripts/cronwiz.py validate 0 25 *

→ 无效:小时:25 超出范围(0-23)

next — 预览即将运行的任务

bash
python3 scripts/cronwiz.py next 0 9 1-5 --count 5

显示接下来 5 个工作日早上 9 点的运行时间及日期

generate — 从选项构建表达式

bash
python3 scripts/cronwiz.py generate --every 5m

/5 *

python3 scripts/cronwiz.py generate --every daily --at 09:00

→ 0 9 *

python3 scripts/cronwiz.py generate --every week --at 14:30 --on friday

→ 30 14 5

生成选项

标志描述
--every5m、2h、daily、weekly、monthly间隔
--at
HH:MM | 一天中的时间 | | --on | mon–sun、weekdays、weekends | 星期几 |

支持的快捷方式

@yearly、@annually、@monthly、@weekly、@daily、@midnight、@hourly

依赖

无 — 纯 Python,无需 pip 安装。

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 crontab-wizard-1776127883 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 crontab-wizard-1776127883 技能

通过命令行安装

skillhub install crontab-wizard-1776127883

下载

⬇ 下载 crontab-wizard v1.0.0(免费)

文件大小: 5.51 KB | 发布时间: 2026-4-15 12:22

v1.0.0 最新 2026-4-15 12:22
Initial release of crontab-wizard.

- Explain cron expressions in plain English, including shortcuts like @daily and @hourly.
- Generate cron expressions from simple options (intervals, time, days).
- Validate cron expressions, highlighting errors if present.
- Preview upcoming run times for any cron schedule.
- Supports standard 5-field syntax and common shortcuts.
- No dependencies; runs with standard Python.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部