help-cfengine
[Top][All Lists]
Advanced

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

Re: Possible bug: parsing/scheduling of editfiles sections in multiple c


From: Brendan Strejcek
Subject: Re: Possible bug: parsing/scheduling of editfiles sections in multiple cfengine scripts
Date: Mon, 12 Sep 2005 15:25:47 -0500
User-agent: Mutt/1.5.6+20040818i

Knut Auvor Grythe wrote:

> So what you need to do is have a proper way of checking what
> shellcommands run you are in. If you have the actionsequence (
> shellcommands.foo shellcommands.bar ), you need to test for foo and
> bar to know which run you are in. If you don't test for them, then
> the command will run both times. This makes sense, because you are
> basically saying "i don't care when it runs".

In general I think this is true, but won't locking prevent the same
command from running twice?




reply via email to

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