# Cron Scheduler

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

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

- Page: https://ss33.ai/skills/aidotnet/cron-scheduler-41832854385
- Publisher: aidotnet
- Category: [Software Development](https://ss33.ai/skills/category/software-development-t44z8z) › [DevOps & cloud](https://ss33.ai/skills/category/software-development-t44z8z/devops-and-cloud-unkt50)
- License: MIT
- Source: https://github.com/aidotnet/moyucode/blob/9fa0412ff1d57ca3216835637773ac975cae1009/skills/tools/cron-scheduler/SKILL.md

## Skill

SKILL.md: https://ss33.ai/api/v1/ss33/download/aidotnet/cron-scheduler-41832854385

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