DEV Community

neuralmint
neuralmint

Posted on

Cron Expression Parser CLI — Translate Cron to Plain English

Cron Expression Parser CLI — Translate Cron to Plain English

Never squint at a cron expression again. This tool translates cron schedules into human-readable English and shows the next N run times.

Features

  • Translate cron to plain English (e.g., "Every day at 6 AM")
  • Show next N scheduled run times
  • Validate cron expression syntax
  • Supports all standard cron fields (min, hour, dom, mon, dow)
  • Debug complex schedules

Usage

# Explain a cron expression
cron_parser explain "0 6 * * *"

# Show next 5 run times
cron_parser next "0 6 * * *" --count 5

# Validate syntax
cron_parser validate "*/15 * * * *"
Enter fullscreen mode Exit fullscreen mode

Install

pip install neuralmint/cron-parser
Enter fullscreen mode Exit fullscreen mode

If this saves you time debugging cron jobs:

SOL: 4TGyiYBjaYhFFPNYyCoJjf16ctUsWVBiMR1FXQxEfhWi

ETH: 0xe07f177E0725c11EEc8BeA34C5b5193CaF2a1A6a

Tags: python, cli, opensource, devtools
Series: neuralmint CLI Tools

Top comments (0)