-----Original Message-----
> If you're using supervisor and have the logic to allow your processes 
> to sleep, why not make your processes persistent and leave it to them 
> to know when to do something?

I concur this works well.  I have hundreds of supervisor child processes that 
spent most of their time in a sleep() call, but wake up every 15 minutes 
(xx:00, xx:15, xx:30, xx:45) to run a few summarization SQL scripts for the 
previous time period, then go right back to sleep.

Supervisor thinks they are busy 24/7, but they're not. 



tlj
_______________________________________________
Supervisor-users mailing list
Supervisor-users@lists.supervisord.org
https://lists.supervisord.org/mailman/listinfo/supervisor-users

Reply via email to