Skills DirectorySearch all skills ↗

AI agent skill · by @AIDotNet

Cron Scheduler

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

Archived 2026-10-23 · Source updated 2026-01-28 · License: MIT. Check the original repository for the latest version.

SKILL.md instructions

# 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

```bash
# 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: ✅

Related skills