cron-generator-cli
v1.0.0
Published
Interactive cron expression generator and explainer in your terminal. Build crontab schedules with guided questions, validate existing expressions.
Maintainers
Readme
⏰ Cron Generator CLI
Interactive cron expression generator and explainer right in your terminal. Build crontab schedules with guided questions, explain existing expressions, browse common presets.
Quick Start
npx cron-generator-cliExplain an expression directly:
npx cron-generator-cli '*/5 * * * *'Features
- 🎯 Guided Builder — answer simple questions, get the cron expression
- 🔧 Manual Builder — enter each field with validation
- 📖 Expression Explainer — paste any cron expression, get human-readable explanation
- 📋 20 Common Presets — daily, weekly, monthly, and more
- 📚 Syntax Reference — complete cron field documentation
- ⚡ Direct mode — explain expressions from the command line
- 📋 Copy-paste crontab — generates ready-to-use crontab entries
- 🚀 Zero dependencies
Usage
Interactive Mode
$ npx cron-generator-cli
[1] Guided Builder
[2] Manual Builder
[3] Explain Expression
[4] Common Presets
[5] Syntax ReferenceDirect Mode
npx cron-generator-cli '0 2 * * *'
# Output: At minute 0, at hour 2 → Daily at 2:00 AMShort Alias
npm i -g cron-generator-cli
crongenMore Tools
- 🐧
npx dargslan-linux-quiz— Linux Quiz - ⚙️
npx dargslan-sysadmin-quiz— SysAdmin Quiz - 📝
npx dargslan-bash-quiz— Bash Scripting Quiz - 🔐
npx linux-permissions-calculator— chmod Calculator - 🔑
npx ssh-config-generator— SSH Config Builder
Learn More
License
MIT — dargslan.com
