help-cfengine
[Top][All Lists]
Advanced

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

Testing for file age


From: John van Zantvoort
Subject: Testing for file age
Date: Mon, 13 Feb 2006 12:03:07 +0100

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+

reply via email to

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