django-celery-beat
Database-backed Periodic Tasks.
What it is and what it does
django-celery-beat replaces Celery's static configuration files with a database-backed schedule, allowing you to create, edit, and delete periodic tasks through Django's admin interface without restarting services. It provides three scheduling models: IntervalSchedule for fixed intervals (seconds, minutes, hours, days, microseconds), CrontabSchedule for cron-like expressions with timezone support, and PeriodicTask as the main task definition that links to either schedule type. The package integrates with Celery's beat scheduler via a custom DatabaseScheduler backend.
You manage tasks through Django Admin or programmatically via the ORM. The PeriodicTasks model tracks schedule changes, signaling the beat service to reload without restarts. Tasks support arguments, keyword arguments, queue routing, and expiration times via JSON serialization. The package depends on celery, Django, python-crontab, cron-descriptor, and timezone utilities (django-timezone-field, backports.zoneinfo, tzdata) to handle scheduling across timezones.
Use it for:
- Manage periodic data imports, cleanup jobs, or reports without redeploying—edit schedules live in Django Admin.
- Run different periodic tasks on different schedules by creating multiple IntervalSchedule or CrontabSchedule entries.
- Implement timezone-aware cron schedules (e.g., 9 AM Pacific every weekday) using CrontabSchedule with timezone parameter.
- Temporarily disable a periodic task by setting enabled=False without removing it from the database.
- Bulk-update periodic task schedules and notify beat of changes via PeriodicTasks.update_changed().
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Stores Celery periodic task schedules in a Django database and manages them through the Django Admin interface, replacing static configuration with dynamic, editable task scheduling.
Yes. It is actively maintained, supports modern Django and Python versions, has no known vulnerabilities, and solves a real operational problem—managing task schedules without code redeploy. Install it if you use Celery with Django and need dynamic task scheduling; the low install friction and permissive license make adoption straightforward.
Install
django-celery-beat on PyPI
pip
pip install django-celery-beatuv
uv add django-celery-beatpoetry
poetry add django-celery-beatInstalling django-celery-beat
Before you install
Low install friction with a wheel distribution. Active maintenance with recent commits and a stable codebase supporting modern Django (3.2 through 6.0) and Python (3.8 through 3.14).
License in practice
BSD license is permissive, allowing use in proprietary and open-source projects without significant restrictions.
Quickstart
pip install django-celery-beat
from django_celery_beat.models import PeriodicTask, IntervalSchedule
schedule, _ = IntervalSchedule.objects.get_or_create(
every=10, period=IntervalSchedule.SECONDS)
PeriodicTask.objects.create(
interval=schedule, name='my-task',
task='myapp.tasks.my_task')
Requires Django and Celery to be installed and configured; the beat scheduler must be run separately with the DatabaseScheduler backend.
Verify before relying
- Whether timezone changes to Django TIME_ZONE setting require manual intervention beyond the documented reset procedure.
- Performance characteristics when managing thousands of periodic tasks in the database.
- Compatibility with non-relational database backends or custom Django storage engines.
Package facts
| License | BSD (permissive) |
| Python support | supports the current Python release (>=3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 8 — celery, importlib-metadata, django-timezone-field, backports.zoneinfo, tzdata, python-crontab, cron-descriptor, Django |
| Maintenance | actively maintained — 167 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 7,624,123/month — #1,713 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: django_celery_beat-2.9.0-py3-none-any.whl
Keywords: django, celery, beat, periodic, task, database
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
django-background-tasksDjango Background Tasks is a database-backed…
permissive · top 15,000 on PyPI
sqlalchemy-celery-beatProvides a SQLAlchemy-backed scheduler for…
permissive · top 15,000 on PyPI
tenant-schemas-celeryIntegrates Celery task queuing with…
permissive · top 15,000 on PyPI
dj-materialized-viewsManages PostgreSQL materialized views through a…
permissive · top 15,000 on PyPI
celery-redbeatRedBeat is a Celery Beat scheduler that…
permissive · top 5,000 on PyPI
django-celery-resultsStores Celery task results in a Django database…
permissive · top 5,000 on PyPI
django-crontabIntegrates system crontab scheduling into…
permissive · top 15,000 on PyPI
django-tasks-dbA Django Tasks backend that stores and executes…
permissive · top 15,000 on PyPI
scheduleSchedule provides a human-friendly API for…
permissive · top 5,000 on PyPI
cronitorA Python client library for Cronitor that…
permissive · top 15,000 on PyPI