--- id: local-crontab version: "0.3.0" license: MIT license_treatment: permissive maintenance: abandoned --- # local-crontab — Convert local crontabs to UTC crontabs License: permissive · Maintenance: abandoned · Downloads: 334.0K/mo ## What it is and what it does local-crontab is a Python library and CLI tool that translates crontab schedules from local time into UTC. Because Daylight Saving Time shifts the offset between local and UTC time at different points in the year, a single local schedule may need multiple UTC crontabs to remain synchronized—this package generates all necessary UTC variants automatically. You can use it as a library by instantiating a Converter with a cron expression and timezone, then calling to_utc_crons() to get a list of UTC crontabs. Alternatively, use the command-line interface with the local-crontab command to convert expressions directly. The package depends on cron-converter, click, and python-dateutil. Use it for: - Convert a recurring local job schedule to UTC for deployment on servers in different timezones. - Generate multiple UTC crontabs to handle DST transitions automatically without manual intervention. - Automate cron expression conversion in infrastructure-as-code or configuration management tools. - Verify that a local cron schedule will execute at the intended UTC times across the year. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Converts crontab expressions from a local timezone into UTC-equivalent crontabs, accounting for Daylight Saving Time by generating multiple UTC schedules. Yes, if you need reliable local-to-UTC cron conversion and can accept that the package is no longer maintained. The core logic is stable and the dependencies are lightweight. No known vulnerabilities. Install it for one-time conversions or as part of a system where DST handling is critical; avoid it if you need ongoing bug fixes or support for future timezone rule changes. ## Install pip install local-crontab uv add local-crontab poetry add local-crontab ## Installing local-crontab Before you install: Low install friction with three lightweight dependencies. However, the package is abandoned—last release was 2021-07-09 and no commits since. Use only if the conversion logic meets your needs without ongoing maintenance. License in practice: MIT license permits commercial and private use with minimal restrictions; you may use, modify, and distribute the package freely provided you retain the license notice. Quickstart: pip install local-crontab from local_crontab import Converter result = Converter('0 10 * * *', 'America/New_York').to_utc_crons() print(result) Requires Python 3.8 or later. Verify before relying: - Whether the DST handling remains accurate for years after 2021, given the package is no longer maintained. - Whether the external 'dst check' program mentioned in the description is available or documented elsewhere. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: abandoned - Downloads: 334.0K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags crontab timezone conversion, local cron to utc, daylight saving time cron, timezone-aware crontab, cron utc converter, local timezone cron scheduler, cron-scheduling, timezone-handling [View on SkillFed](https://skillfed.io/packages/local-crontab) · [View on PyPI](https://pypi.org/project/local-crontab/)