help-cfengine
[Top][All Lists]
Advanced

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

Re: Tidy age in hours?


From: Adam M. Dunn
Subject: Re: Tidy age in hours?
Date: Mon, 15 Aug 2005 12:05:58 -0500 (CDT)

Ahhh!  Thanks for reminding me.  I hardly ever need filters so I forget
about them!

Here is what I used by the way in case anyone else needs this:

filter:

     { agemorethanhour
          FromMtime: "tminus(0,0,0,1,0,0)"
          ToMtime:   "inf"
          Result:    "!Mtime"
     }



~Adam



On Mon, 15 Aug 2005, Mark Burgess wrote:

> Use a filter!
> 
> On Mon, 2005-08-15 at 10:32 -0500, Adam M. Dunn wrote:
> > Hey guys,
> >   I need to do a "tidy" on files older than 1 hour, but the age= argument
> > works on a scale of days.  Does anyone know a way around this?  I assume
> > that age will only accept integers.
> > 
> > Please help.
> > 
> > 
> > Thanks,
> > Adam
> > 
> > 
> > 
> > 
> > _______________________________________________
> > Help-cfengine mailing list
> > address@hidden
> > http://lists.gnu.org/mailman/listinfo/help-cfengine
> 
> 
> 





reply via email to

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