cronlet-cli
v0.2.0
Published
CLI for Cronlet - the simplest way to add scheduled tasks to your Node.js app
Readme
cronlet-cli

CLI for cronlet - the simplest way to add scheduled tasks to a Node.js application.
Installation
npm install cronlet cronlet-cliCommands
cronlet dev
Start the dev server with hot reload and local dashboard.
cronlet dev # Auto-discovers jobs in ./jobs, ./src/jobs, ./app/jobs
cronlet dev --dir ./my-jobs # Custom jobs directory
cronlet dev --port 4000 # Custom port (default: 3141) ⏱ cronlet dev server running
Jobs discovered:
✓ weekly-digest every friday at 9:00 AM
✓ cleanup-sessions every 6 hours
✓ sync-stripe daily at midnight
Dashboard: http://localhost:3141
Watching for changes...Directory resolution is consistent across all commands:
--dir <path>cronlet.config.*jobsDir- auto-detect from
./jobs,./src/jobs,./app/jobs
cronlet list
List all discovered jobs.
cronlet list
cronlet list --dir ./my-jobscronlet run <job-id>
Manually trigger a job.
cronlet run cleanup-sessionscronlet validate
Validate all job configurations.
cronlet validateDashboard
The dev server includes a local dashboard at http://localhost:3141 with:
- Job list with schedules and status
- Manual "Run Now" buttons
- Execution history
- Automatic updates while developing
License
MIT
