help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cfagent from cron


From: David J. Bianco
Subject: Re: cfagent from cron
Date: 08 Aug 2002 15:15:36 -0400

On Thu, 2002-08-08 at 15:05, ABostick@mydoconline.com wrote:
> Is there a benefit from running "cfexecd -F" from cron instead of just
> "cfagent" from cron?  Why the extra step?
> 

The emails generated from cfexecd -F are usually a little nicer,
even if just because they're easier to filter into folders because
they have standard subject lines.

Actually, I'd go one step further.  Instead of running cfexecd -F 
from cron, I run a short script that starts up cfexecd (without -F)
if it's not already running. I also start cfexecd at boot.  The
advantage of this is simple.  Since cfexecd and cron are separate
and don't rely on each other to run, if one goes down the other can
restart it.  My cfagent config restarts cron if it's not running
(which has happened occasionally) and cron restarts cfexecd if it
doesn't find it running.  A win-win situation.

        David

-- 
David J. Bianco, GSEC           <bianco@jlab.org>
Thomas Jefferson National Accelerator Facility

     The views expressed herein are soley those of the author and
            not those of SURA/Jefferson Lab or the US DOE.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]