:: Re: [Dng] Why daemontools is so coo…
Etusivu
Poista viesti
Vastaa
Lähettäjä: Martijn Dekkers
Päiväys:  
Vastaanottaja: Steve Litt
Kopio: dng
Aihe: Re: [Dng] Why daemontools is so cool
> I got tired of cron on my Wheezy box (long story), so I created my own
> cron system in Python. It reads its (almost compatible) crontab file,
> checks the current time, and does the called-for commands, then sleeps
> for 31 seconds and does it all over again. I can run it in a terminal
> and watch everything message through on the screen. Once it was working
> properly, I just gave it a daemontools run script, and bang, it was a
> genuine daemon. No doublefork in my program. No PID tracking in my
> program. Nothing but cron.
>


Did you have a look at jobber? http://dshearer.github.io/jobber/