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+