help-cfengine
[Top][All Lists]
Advanced

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

Re: Testing for file age


From: Mark Burgess
Subject: Re: Testing for file age
Date: Mon, 13 Feb 2006 15:26:00 +0100

I could easily add a special function to the list to compare this
directly if you are interested in using the latest. Otherwise you could
use a file filter - a bit awkward

M

On Mon, 2006-02-13 at 12:03 +0100, John van Zantvoort wrote:
> Hi,
> 
> I'd like to test for a files mtime to define a class so if e.g.
> the /var/lib/slocate/slocate.db file is more then 4 days of define the
> class run_updatedb. but I've not been able to find such a function
> within cfengine.
> 
> Any hints?
> 
> -- 
> Met vriendelijke groeten/with kind regards
> 
>         John van Zantvoort
> 
> ---
> 
> Paranoia is simply an optimistic outlook on life.
> 
> GCM d- s+:+ a- C+ UL+++ P+++ L++ E--- W++ N+ o K-
> w-- O- M- V- PS+ PE- Y+ PGP+ t+ 5 X- R- tv b+ DI++ 
> D+ G e h- r++ y+
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-cfengine





reply via email to

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