skillfed

django-celery-beat

Database-backed Periodic Tasks.

django-celery-beat v2.9.0 7.6M downloads/30d#1,713 on PyPI1,946
Permissive license BSD Active released

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-beat

uv

uv add django-celery-beat

poetry

poetry add django-celery-beat

Installing 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

Development Status :: 5 - Production/StableFramework :: DjangoFramework :: Django :: 3.2Framework :: Django :: 4.1Framework :: Django :: 4.2Framework :: Django :: 5.0Framework :: Django :: 5.1Framework :: Django :: 5.2Framework :: Django :: 6.0License :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: CommunicationsTopic :: Software Development :: Libraries :: Python ModulesTopic :: System :: Distributed Computing

Tags

django celery periodic tasksdatabase-backed task schedulingcelery beat django admincron jobs django databasescheduled tasks management interfacecelery periodic task schedulerdjango task scheduling
celery-integrationdjango-admintask-scheduling

More Python Modules packages