[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Executing once only
From: |
Mark . Burgess |
Subject: |
Executing once only |
Date: |
Fri, 15 Aug 2003 10:52:26 +0200 (MEST) |
There has been a discussion recently about executing cfengine
actions "once only". I have thought about this and having reviewed
some of the (contradictory) requests have come up with the following
solution that will be available from 2.1.0 (current development
sources on the web).
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.
cheers,
Mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272 Email: Mark.Burgess@iu.hio.no
Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Executing once only,
Mark . Burgess <=