Leverage uWSGI spooler and cron in Django
Project description
Install
pip install django-call
Add djcall to INSTALLED_APPS and migrate.
Example project
Setup example project:
djcall-example collectstatic djcall-example migrate djcall-example createsuperuser
Run with runserver:
djcall-example runserver
Or with uWSGI:
uwsgi --env DJANGO_SETTINGS_MODULE=djcall_example.settings --env DEBUG=1 --spooler=/spooler/stat --spooler=/spooler/mail --spooler-processes 1 --http=:8000 --plugin=python --module=djcall_example.wsgi:application --honour-stdin --static-map /static=static
History
First made a dead simple pure python generic spooler for uwsgi: https://gist.github.com/jpic/d28333b0573c3c555fbe6e55862ecddb
The made a first implementation including CRUDLFA+ support: https://github.com/yourlabs/django-uwsgi-spooler
This version adds:
Cron model and support for uWSGI cron, can’t add/remove them without restart, but can change kwargs and options online
CRUDLA+ support is on hold waiting for what’s currently in https://github.com/tbinetruy/CHIP because i don’t want to build crud support here with templates because of the debt this will add, it’s time to use components in CRUDLFA+ to make the CRUD for Cron/Background tasks awesome
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.