2👍
In case you feel that Celery is a bit oversized for your needs you could also define a custom management command that lives forever and waits for your incoming packet.
1👍
I suggest you to use Celery which works with Django and has support for long running tasks among other features.
http://docs.celeryproject.org/en/latest/django/first-steps-with-django.html
http://docs.celeryproject.org/en/latest/getting-started/introduction.html
- [Django]-How do I use the new Twitter API 1.1 search in Python?
- [Django]-Accelerate unittest in Django
- [Django]-Versioning a TastyPie Api with the Accept header
0👍
https://github.com/lukedupin/django_posix_spawn
Using management commands in conjunction with this allows you to run django tasks that don’t block your website.
- [Django]-Django many-to-many
- [Django]-Django templates iterate through list of tuples and give them all buttons
- [Django]-Please suggest some alternative to Drupal
- [Django]-What is the best way to consume a django-piston REST API from a Django view?
0👍
If you need a loop that is "django-aware" and already using celery for async tasks then
celery-eternal might be a good fit. Only caveat is that you must use redis as the celery results backend.
- [Django]-Django-REST or Firebase?
- [Django]-Deploying Django, supervisorctl abnormal termination
- [Django]-I keep getting the following error "local variable 'total_results' referenced before assignment"
- [Django]-Celery: running a worker with superuser privileges