help-cfengine
[Top][All Lists]
Advanced

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

Re: Executing once only


From: Eric Sorenson
Subject: Re: Executing once only
Date: Fri, 15 Aug 2003 07:16:42 -0700 (PDT)

On Fri, 15 Aug 2003 Mark.Burgess@iu.hio.no wrote:

> The ifelapsed and expireafter locks can now be placed as options
> to every command individually, with global values as defaults. This
> means that you can just set a very long ifelapsed and expire time
> on the action, e.g. 9999 minutes which is effectively the same
> as doing it once.
> 
> After that, if you are still worried about it timing-out, there
> is ample time to comment out the rule.

You might want to leave it uncommented so new hosts will get the
action once, but 9999 minutes is not the same thing as doing it
once, it's only six days.  How about checking for '-1' and using
that as the run-once determinant? 

-- 

    Eric Sorenson - EXPLOSIVE Networking - http://explosive.net





reply via email to

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