Supervisor VS cronjob
- by Guandalino
Actually I'm using supervisor to monitor a process and restart it when it stops for some reason. The problem is that in case of a supervisor crash the process stops get monitored.
So I thought to schedule a cronjob to check supervisor is running, and eventually restart it.
The next thing I'm considering is to get rid of supervisor and check my process directly from the cronjob. I read that sometimes supervisor uses too much memory (to be verified, though).
What are the pros in having supervisor VS cronjob monitoring the process?