On Sat, Dec 7, 2013 at 5:35 PM, S. Dale Morrey <[email protected]>wrote:

> It's just a feeder script, so in the end my solution was just to issue
> init.d/mydaemon start through cron on an hourly basis.
> It's not vital that it run ALL the time just most of the time, and the
> daemon will already refuse to let more than 1 run at time.
>
> I know it seems like a kludge, but adding any extra overhead would strain
> an aready resource constrained environment.
>
> Thanks for the tips though.  They'll probably come in handy in the future,
> so I'm bookmarking this thread :)
>
>
I usually go for launchd, Monit or God.

But I've definitely used `while true; do ...; done` in init scripts for
things where those are overkill :P

--j

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to