devkits-cron
Parse and explain cron expressions in plain English. See next run times.
Install
npm install -g devkits-cron

Usage
CLI
cronparse "*/5 * * * *"
cronparse "0 9 * * 1-5" --next 10
cronparse "@daily"
cronparse "@weekly" --next
cronparse --examples
Programmatic API
const { parse, getNextRuns, describe } = require('devkits-cron');
const result = parse('0 9 * * 1-5');
console.log(result.description);
const { runs } = getNextRuns('0 0 1 * *', 5);
runs.forEach(r => console.log(r));
describe('*/15 * * * *');
Cron Expression Format
┌───────────── minute (0-59)
│ ┌───────────── hour (0-23)
│ │ ┌───────────── day of month (1-31)
│ │ │ ┌───────────── month (1-12, JAN-DEC)
│ │ │ │ ┌───────────── day of week (0-6, SUN-SAT)
│ │ │ │ │
* * * * *
Special Characters
* | All values | * * * * * (every minute) |
, | List separator | 1,15,30 * * * * |
- | Range | 0 9-17 * * * (9 AM to 5 PM) |
/ | Step values | */5 * * * * (every 5 min) |
Predefined Schedules
@yearly | 0 0 1 1 * | Once a year |
@monthly | 0 0 1 * * | Once a month |
@weekly | 0 0 * * 0 | Once a week |
@daily | 0 0 * * * | Once a day |
@hourly | 0 * * * * | Once an hour |
Examples
$ cronparse "*/5 * * * *"
Every 5 minutes
$ cronparse "0 9 * * 1-5"
At 09:00, on Monday-Friday
$ cronparse "0 0 1 * *" --next 3
Next 3 run times:
1. Mon 2026-03-01 00:00
2. Wed 2026-04-01 00:00
3. Fri 2026-05-01 00:00
$ cronparse "*/15 9-17 * * 1-5"
At minute */15 between 09:00-17:00, on Monday-Friday
Use Cases
- Cron jobs — Verify scheduled task schedules
- GitHub Actions — Validate workflow schedules
- CI/CD pipelines — Plan build schedules
- System administration — Document crontab entries
- Kubernetes CronJobs — Design pod schedules
Related Tools
🔍 Build something amazing? Check out API Monitor —
simple, affordable API monitoring for indie hackers. Get alerted before your customers notice.
Just $9/mo.
See Also
Support DevKits
If you find this tool useful, please consider supporting the project:
Open Collective
Become a sponsor: Open Collective - DevKits
Crypto Donations
Prefer crypto? We accept:
- ETH (Ethereum):
0xDea4a6A20fCB44467e45Ef378972F54B22dC59db
- USDC (ERC-20):
0xDea4a6A20fCB44467e45Ef378972F54B22dC59db
Donation Perks:
- $5+ — Supporter Badge
- $10+ — Pro Access (1 month)
- $29+ — Pro Access (1 year)
- $100+ — Lifetime Pro + Priority Support
After donating, email your transaction hash to devkits@aiforeverthing.com to claim perks.
View Crypto Donation Page
License
MIT — DevKits Team