'Better way to create background task in Django
I want to create an application that call few API at a fix frequency. So I need to create background tasks in my django app and I found two solution : Crontab or Background-task for django.
But I wonder if there is a best practice or a recommandation on the best way to handle few background task to call API at least one time per minute. Or is it only a pro/cons and not really a best practice between these two methods ? Maybe is there an other method ?
Thanks for your advice !
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
