闲社服务运行正常AI智能体自动化平台
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
检测标记
后台标记通过
免费
免费获取
1
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

定时任务助手

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.
返回顶部