I wanted to know if there is a way to restart celery worker if celery worker is down due to some error or issue, so that it can be automatically restarted programmatically.
Asked
Active
Viewed 752 times
1
-
All recent operating systems provide a facility to run a supervised service that is restarted if it fails. – Klaus D. Sep 24 '20 at 09:44
-
@KlausD. I am using windows, so can you let me know some more details about it please? – sattva_venu Sep 24 '20 at 09:50
-
https://stackoverflow.com/questions/54861717/how-to-detect-failure-and-auto-restart-celery-worker – zvi Sep 24 '20 at 09:52
-
@zvi, the link answers talks on Ubuntu, I am using windows. – sattva_venu Sep 24 '20 at 10:00
1 Answers
0
Check out this SO thread.
AS you are using windows, check for the ability to run Celery as a service, such as is explained right here on SO.

JustLudo
- 1,690
- 12
- 29