/django-background-tasks

A database-backed work queue for Django

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Django Background Tasks

Build Status Coverage Status Documentation Status PyPI

Django Background Task is a databased-backed work queue for Django, loosely based around Ruby's DelayedJob library. This project was adopted and adapted from lilspikey django-background-task.

To avoid conflicts on PyPI we renamed it to django-background-tasks (plural). For an easy upgrade from django-background-task to django-background-tasks, the internal module structure were left untouched.

In Django Background Task, all tasks are implemented as functions (or any other callable).

There are two parts to using background tasks:

  • creating the task functions and registering them with the scheduler
  • setup a cron task (or long running process) to execute the tasks

Docs

See http://django-background-tasks.readthedocs.io/en/latest/.

django-background-tasks is free software. If you find it useful and would like to give back, please consider to make a donation using Bitcoin or PayPal. Thank you!