--- id: django-crontab version: "0.7.1" license: MIT license_treatment: permissive maintenance: abandoned --- # django-crontab — dead simple crontab powered job scheduling for django License: permissive · Maintenance: abandoned · Downloads: 206.5K/mo ## What it is and what it does django-crontab bridges Django applications and the system crontab scheduler by letting you define periodic jobs in Python and register them with the OS cron daemon via management commands. Instead of maintaining separate cron configuration files, you declare jobs in Django settings using standard cron timing syntax and Python module paths, then use `python manage.py crontab add` to install them into the user's crontab. The package handles the plumbing: it generates the correct cron entries, manages Django environment setup for each scheduled execution, and provides commands to show and remove jobs. It supports passing arguments to scheduled functions and can redirect output to files. However, it is tightly coupled to system crontab, so it only works on POSIX systems and requires the crontab executable to be present and accessible. Use it for: - Schedule Django management commands (e.g., clearsessions, database cleanup) to run at specific times without a separate task queue. - Run periodic data synchronization or reporting tasks defined as Python functions in your Django app. - Set up simple recurring maintenance jobs (log rotation, cache clearing) without introducing a heavy dependency. - Manage multiple scheduled tasks for a single Django project from one settings file rather than scattered cron entries. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Integrates system crontab scheduling into Django, allowing you to define periodic tasks in Python and manage them through Django management commands. No for new projects. The package is abandoned (last release 2016, no commits since 2022) and predates modern Django and Python versions. For legacy Django projects already using it, it may continue to work, but there is no maintenance path forward. Consider alternatives for any new or actively maintained application. ## Install pip install django-crontab uv add django-crontab poetry add django-crontab ## Installing django-crontab Before you install: High install friction due to system-level crontab dependency. Package is abandoned—last release March 2016, no commits since October 2022. Maintenance status makes it risky for new projects or Django versions beyond those explicitly tested. License in practice: MIT license is permissive; you can use, modify, and distribute freely. No licensing barrier to adoption. Quickstart: pip install django-crontab # In settings.py, add to INSTALLED_APPS: INSTALLED_APPS = ['django_crontab', ...] # Define CRONJOBS: CRONJOBS = [('*/5 * * * *', 'myapp.cron.my_scheduled_job')] # Then run: python manage.py crontab add Requires a POSIX system with crontab executable (Linux/Unix). Will not work on Windows. Requires Django 1.8+. Verify before relying: - Compatibility with Django versions released after 2016 (package predates modern Django LTS releases) - Whether the package works reliably with Python versions beyond 3.5 (classifiers only list up to 3.5) - Current state of the repository and whether it accepts pull requests or has an active maintainer ## Package facts - License: MIT (permissive) - Python support: unspecified - Install friction: high - Maintenance: abandoned - Downloads: 206.5K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags django cron job scheduling, periodic task scheduling django, crontab integration django, scheduled jobs django, django background tasks cron, django task scheduler, scheduling, cron, abandoned [View on SkillFed](https://skillfed.io/packages/django-crontab) · [View on PyPI](https://pypi.org/project/django-crontab/)