django-redbeat is an app based on celery-redbeat with model based celery periodic tasks.
Quick start
Add “django_redbeat” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... 'django_redbeat', ]Run python manage.py migrate to create the PeriodicTaskeEntry model.
Start the development server and visit http://127.0.0.1:8000/admin/ to create a periodic task (you’ll need the Admin app enabled).
Visit http://127.0.0.1:8000/admin/django_redbeat/periodictasksentry/ to add periodic task.
Sample code to use:
from django_redbeat import PeriodicTaskEntry task = PeriodicTasksEntry.objects.create( name="The verbose name of the task", task="yourapp.tasks.task_name", args=[arg1, arg2,], schedule=10# the schedule in seconds )
Release files for django-redbeat 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-redbeat-0.3.tar.gz | 4.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_redbeat-0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.7 kB
Release files / django-redbeat-0.3.tar.gz
| Download URL | django-redbeat-0.3.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
11d735c0db42dc548b6d97a9ebad8d54c81a8cc3d104ab3271b04c8ad248878d
|
|
BLAKE2b-256 checksum How to use checksums |
be7f200ae0318128e6e493275b5eb461c43ff755bb387ca25e56e4013df56531
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.8
|
Release files / django_redbeat-0.3-py3-none-any.whl
| Download URL | django_redbeat-0.3-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bceafeb2eaaa2763c546f13904288991b5bc5fdbd70a77b20b472bba2fb98c6d
|
|
BLAKE2b-256 checksum How to use checksums |
c4b96b089873e2337b50983e21e46fde5b33590256f47c9c27cee1b8a187a140
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.8
|