Agent Skills: Cron Scheduler Tool

解析、验证和解释cron表达式,计算下次运行时间。

UncategorizedID: aidotnet/moyucode/cron-scheduler

Install this agent skill to your local

pnpm dlx add-skill https://github.com/AIDotNet/MoYuCode/tree/HEAD/skills/tools/cron-scheduler

Skill Files

Browse the full folder contents for cron-scheduler.

Download Skill

Loading file tree…

skills/tools/cron-scheduler/SKILL.md

Skill Metadata

Name
cron-scheduler
Description
解析、验证和解释cron表达式,计算下次运行时间。

Cron Scheduler Tool

Description

Parse, validate, and explain cron expressions. Calculate next run times and generate cron syntax.

Trigger

  • /cron command
  • User needs cron expression help
  • User wants to schedule tasks

Usage

# Explain cron expression
python scripts/cron_scheduler.py "0 9 * * 1-5"

# Get next N run times
python scripts/cron_scheduler.py "*/15 * * * *" --next 5

# Generate cron from description
python scripts/cron_scheduler.py --generate "every day at 9am"

# Validate expression
python scripts/cron_scheduler.py "0 0 * * *" --validate

Tags

cron, scheduler, automation, time, jobs

Compatibility

  • Codex: ✅
  • Claude Code: ✅