cron-validator
Unix cron implementation by Python
Decision gist · record as of 2026-08-14
Yes, if you need lightweight cron expression parsing and scheduling in a Python application and can accept an unmaintained library. The low install friction, permissive license, and zero known vulnerabilities make it a low-risk choice for non-critical scheduling tasks. No, if you require active maintenance, ongoing bug fixes, or support for the full breadth of cron syntax variants.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low friction: pure Python wheel with only two lightweight runtime dependencies (python-dateutil and pytz).
- Maintenance status is abandoned as of June 2023 with no recent updates, so expect no bug fixes or feature work going forward.
License · maintenance · safety
MIT (permissive) — MIT license is permissive, allowing commercial and private use with minimal restrictions—suitable for most projects that can accept an unmaintained dependency.
last release 2023-06-19 (1152 days) · last repo commit 2023-06-19 · 23 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,533,411 downloads/mo, #3,803 on PyPI
Alternatives
Verify before relying
pip install cron-validator
from cron_validator import CronValidator
assert CronValidator.parse('* * * * *') is not None
assert CronValidator.parse('*/61 * * * *') is None- Whether the package handles all edge cases in cron syntax or only a subset of standard Unix cron rules.
- Performance characteristics when generating execution times across large date ranges.
- Compatibility with Python versions not explicitly declared in the package metadata.
What it is and what it does
Cron Validator is a Python library for working with Unix cron expressions. It parses and validates cron syntax, tests whether a cron schedule matches a given datetime, generates all execution times matching a cron expression within a date range, and provides a simple scheduler loop for triggering tasks on cron intervals. The package also supports a subset of AWS EventBridge extended cron syntax (the 'L' and 'W' operators for day-of-month and day-of-week fields).
The library depends on python-dateutil and pytz for datetime handling and timezone support. It is a straightforward, single-purpose tool with no external system dependencies—install via pip and import CronValidator or CronScheduler to start using it. The project has been abandoned since June 2023, so it receives no active maintenance.
Use it for
- Validate user-supplied cron expressions before storing or executing them in an application.
- Find all times a cron schedule will fire between two dates for reporting or audit purposes.
- Build a simple in-process task scheduler that runs callbacks on cron-defined intervals.
- Test whether a specific datetime matches a cron expression in unit tests or data pipelines.
- Parse and work with cron schedules in applications that need to integrate with cron-based workflows.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need lightweight cron expression parsing and scheduling in a Python application and can accept an unmaintained library.
The low install friction, permissive license, and zero known vulnerabilities make it a low-risk choice for non-critical scheduling tasks. No, if you require active maintenance, ongoing bug fixes, or support for the full breadth of cron syntax variants.
Install
cron-validator on PyPI
Before you install
Low friction: pure Python wheel with only two lightweight runtime dependencies (python-dateutil and pytz). Maintenance status is abandoned as of June 2023 with no recent updates, so expect no bug fixes or feature work going forward.
License in practice
MIT license is permissive, allowing commercial and private use with minimal restrictions—suitable for most projects that can accept an unmaintained dependency.
Quickstart
pip install cron-validator
from cron_validator import CronValidator
assert CronValidator.parse('* * * * *') is not None
assert CronValidator.parse('*/61 * * * *') is None
Verify before relying
- Whether the package handles all edge cases in cron syntax or only a subset of standard Unix cron rules.
- Performance characteristics when generating execution times across large date ranges.
- Compatibility with Python versions not explicitly declared in the package metadata.
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagespython-dateutilpytz |
| Maintenance | Abandoned 1,152 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,533,411 / month, #3,803 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: cron_validator-1.0.8-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “cron expression validator”
- cron-validatorValidates Unix cron expressions, matches them against specific…
- quartz-cron-checkerValidates Quartz-style cron expressions against the full Quartz…
- cronsimParses and evaluates cron expressions to find matching execution…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also cron-converter · pycron · cronex · cronsim · quartz-cron-checker · aws-cron-expression-validator · cron-schedule-triggers · aws-croniter · cron-descriptor · pyawscron