Skip to main content

django-periodic-tasks

Periodic/cron task scheduling for django-tasks. Backend-agnostic replacement for celery-beat + django-celery-beat.

Installation

pip install django-periodic-tasks

Add to INSTALLED_APPS:

INSTALLED_APPS = [
    ...
    "django_periodic_tasks",
]

Usage

Define scheduled tasks

from django_tasks import task
from django_periodic_tasks import scheduled_task

@scheduled_task(cron="0 5 * * *", name="daily-report")
@task()
def daily_report() -> None:
    ...

Run the scheduler

Enable the autostart setting so the scheduler runs as a daemon thread inside your Django process:

# settings.py
PERIODIC_TASKS_AUTOSTART = True

Or run it as a standalone process:

python manage.py run_scheduler

Release files for django-periodic-tasks 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-periodic-tasks 0.2.1
File Size Uploaded
django_periodic_tasks-0.2.1.tar.gz 715.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-periodic-tasks 0.2.1
File Interpreter ABI Platform
django_periodic_tasks-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 739.0 kB

Release files / django_periodic_tasks-0.2.1.tar.gz

Download URL django_periodic_tasks-0.2.1.tar.gz
Size 715.5 kB
Tags Source
SHA-256 checksum
How to use checksums
54822a0b9d35dc11d95079b7ae300468c9074acccee52b65c1aeda2abcdfa2a9
BLAKE2b-256 checksum
How to use checksums
1e219c12682457ce15f075450d3ddab29d4b7f81430f45f3d1bc432e500706bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.2.0 CPython/3.14.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitLab CI/CD, verified by PyPI on Jul 2, 2026.

Transparency log

Release files / django_periodic_tasks-0.2.1-py3-none-any.whl

Download URL django_periodic_tasks-0.2.1-py3-none-any.whl
Size 23.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
340a3f541d62b9f93c0c123eaf7fb6f4ca1e7a966c3528c76a74978e033a5064
BLAKE2b-256 checksum
How to use checksums
cd79bf78166bac6be33b54a88ab726a41ff1fcb0410b855924f272d2ff3756bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.2.0 CPython/3.14.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitLab CI/CD, verified by PyPI on Jul 2, 2026.

Transparency log
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page