$npx skillfedfor your agent

crontab

Parse and use crontab schedules in Python

With conditionsPyPI UtilitiesReleased Jul 20251.3M downloads / moGNU LGPL v2.1Source build

Decision gist · record as of 2026-08-14

sdist only — crontab-1.0.5.tar.gz · builds from source
v1.0.5 · released 2025-07-09

Yes, with conditions. The package is stable, has no dependencies, and solves a specific problem well for applications that need to parse and schedule tasks using standard cron syntax. However, the aging maintenance status (no active development in over a year) and high install friction (source distribution) mean you should verify compatibility with your target Python version before relying on it for new projects. If you need active maintenance or additional scheduling features, consider alternatives.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • High install friction due to source distribution format.
  • Package is in production/stable status with recent maintenance (last commit 2025-07-10) and no known vulnerabilities, but has not received active development in over a year.

License · maintenance · safety

GNU LGPL v2.1 (copyleft) — Licensed under GNU LGPL v2.1 (copyleft). Any derivative work or modification must be released under compatible terms; linking in a proprietary application requires careful license review.

last release 2025-07-09 (401 days) · last repo commit 2025-07-10 · 337 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,294,223 downloads/mo, #4,095 on PyPI

Verify before relying

pip install crontab

from crontab import CronTab
from datetime import datetime

entry = CronTab('25 * * * *')
delay = entry.next(datetime(2011, 7, 17, 11, 25))
print(delay)  # 3600.0
  • Whether the package works reliably with Python 3.13+ given the aging maintenance status
  • Performance characteristics when parsing complex or deeply nested cron expressions
Same gist for agents: .md · .json

What it is and what it does

This package provides a Python interface to parse standard crontab schedule syntax and compute when a scheduled task should next run. It accepts 5–7 field crontab entries (seconds, minutes, hours, day of month, month, day of week, year) and supports common cron syntax including wildcards, ranges, step values, lists, and day/month abbreviations. It also recognizes convenience aliases like @hourly and @daily.

The main use case is determining the delay in seconds from the current time (or a specified datetime) until the next scheduled execution. The package has no runtime dependencies, making it lightweight for embedding in scheduling systems or task runners that need to calculate cron-based execution times without external service calls.

Use it for

  • Calculate next execution time for a cron job in a Python scheduler or task queue
  • Validate and parse user-supplied crontab expressions in a web application
  • Determine when a recurring background task should run next given a cron schedule
  • Build a cron-based job runner that needs to compute delays between executions
  • Convert crontab syntax to human-readable descriptions of when tasks will run

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, with conditions.

The package is stable, has no dependencies, and solves a specific problem well for applications that need to parse and schedule tasks using standard cron syntax. However, the aging maintenance status (no active development in over a year) and high install friction (source distribution) mean you should verify compatibility with your target Python version before relying on it for new projects. If you need active maintenance or additional scheduling features, consider alternatives.

Install

crontab on PyPI

Before you install

High install friction due to source distribution format. Package is in production/stable status with recent maintenance (last commit 2025-07-10) and no known vulnerabilities, but has not received active development in over a year.

License in practice

Licensed under GNU LGPL v2.1 (copyleft). Any derivative work or modification must be released under compatible terms; linking in a proprietary application requires careful license review.

Quickstart

pip install crontab

from crontab import CronTab
from datetime import datetime

entry = CronTab('25 * * * *')
delay = entry.next(datetime(2011, 7, 17, 11, 25))
print(delay)  # 3600.0

Verify before relying

  • Whether the package works reliably with Python 3.13+ given the aging maintenance status
  • Performance characteristics when parsing complex or deeply nested cron expressions

Package facts

LicenseGNU LGPL v2.1 copyleft
Python supportNot specified
Install frictionHigh. Source build required
Runtime dependenciesNone
MaintenanceAging 401 days since the last release
Last repo commit
First released
Downloads1,294,223 / month, #4,095 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableLicense :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)Programming Language :: PythonProgramming Language :: Python :: 2.7Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.2Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: crontab-1.0.5.tar.gz

Tags

Capabilities
cron schedule parsercrontab expression calculatornext execution timecron delay calculationschedule timing in pythoncron entry parserjob scheduling helper
Topics
schedulingcron-parsertime-calculation

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 › “next execution time”

  • crontabParses crontab schedule expressions and calculates the delay in…
  • cron-converterParses cron schedule strings into structured formats and generates…
  • cronitercroniter iterates over datetime objects using cron expression syntax,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

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.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

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.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

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.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

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.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

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.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

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.

MITpure Python
1.2Bdownloads / mo

See also cronsim · python-crontab · croniter · cronex · aiocron · local-crontab · pycron · cron-descriptor · quartz-cron-checker · cron-converter