Crontab expression parser — next run calculation, natural language explanation, and schedule validation.
Project description
dargslan-cron-parser
Crontab expression parser — next run calculation, natural language explanation, and schedule validation.
Installation
pip install dargslan-cron-parser
Usage
dargslan-cron explain "*/5 * * * *" # Natural language
dargslan-cron next "0 2 * * *" # Next 5 runs
dargslan-cron validate "0 25 * * *" # Validate
dargslan-cron parse "0 */6 * * 1-5" # Parse fields
dargslan-cron json "0 0 1 * *" # JSON output
Features
- Natural language explanation of cron expressions
- Next N run calculations
- Expression validation with error messages
- Support for @yearly, @monthly, @daily, etc.
- Field expansion and range support
- Zero dependencies — pure Python
Part of dargslan-toolkit
Install all 54 Linux sysadmin tools: pip install dargslan-toolkit
Links
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dargslan_cron_parser-1.0.0.tar.gz.
File metadata
- Download URL: dargslan_cron_parser-1.0.0.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
409f039168b419024b787d7dcc712d49142af5d09bb68d3c789288dc959c69c0
|
|
| MD5 |
eed7f98352cf1edb12722b308a188bf6
|
|
| BLAKE2b-256 |
9d8a16466934f15ffac73ded456f72f424bcae5ba2103302e9c35f323a05cdda
|
File details
Details for the file dargslan_cron_parser-1.0.0-py3-none-any.whl.
File metadata
- Download URL: dargslan_cron_parser-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
508fd7526bf75b39365dee4326c8fe6cafe5678af3694f85d8732313ab3e5eb6
|
|
| MD5 |
f1422fdf53047e02857eaafeea972559
|
|
| BLAKE2b-256 |
97dcb04e56d9a59997b83cb77746ebdda9c00920a80c5afeb3007ee8525fdf20
|