Supervisor VS cronjob

Posted by Guandalino on Server Fault See other posts from Server Fault or by Guandalino
Published on 2012-09-30T21:03:32Z Indexed on 2012/09/30 21:39 UTC
Read the original article Hit count: 350

Filed under:
|
|
|

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?

© Server Fault or respective owner

Related posts about linux

Related posts about cron