:: Re: [Dng] Why daemontools is so coo…
トップ ページ
このメッセージを削除
このメッセージに返信
著者: Martijn Dekkers
日付:  
To: Steve Litt
CC: dng
題目: 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/