help-cfengine
[Top][All Lists]
Advanced

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

Re: Trouble with time ranges


From: Mark Burgess
Subject: Re: Trouble with time ranges
Date: Tue, 16 Nov 2004 15:02:54 +0100
User-agent: Mutt/1.4.2i

You need to read the manual. There are time classes already defined
that have the properties you require.

Run cfagent -q -p -v to see all classes.
M

On Tue, Nov 16, 2004 at 08:05:27AM -0500, Baker, Darryl wrote:
>  
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> We hit a threshold on our cfengine server and needed to extend the
> splay time to more than 5 minutes. Up to now we had been using the
> built in 5 minute ranges such as Min00_05 or Min20_25. I want to set
> up 15 minute ranges to cover the larger splay time. So I set up a
> class like this:
> 
>   Min00_15 = ( Min00 Min01 Min02 Min03 Min04 Min05 Min06 Min07 Min08
> Min09 Min10 Min11 Min12 Min13 Min14 )
>   Min30_45 = ( Min30 Min31 Min32 Min33 Min34 Min35 Min36 Min37 Min38
> Min39 Min40 Min41 Min42 Min43 Min44 )
> 
> And use them like this:
> 
>   schedule = ( Min00_15 Min30_45 )
> 
>   Sunday.Hr00.Min00_05||tmpFiles::
>       blah
>       blah
> 
>   Sunday.Hr01.Min00_05||logRotate::
>       blah
>       blah
> 
> This doesn't work. What am I doing wrong?
> _____________________________________________________________________
> Darryl Baker
> gedas USA, Inc.
> Operational Services Business Unit
> 3800 Hamlin Road
> Auburn Hills, MI 48326
> US
> phone +1-248-754-5341
> fax   +1-248-754-6399
> Darryl.Baker@gedas.com
> http://www.gedasusa.com
> _____________________________________________________________________
> 
> -----BEGIN PGP SIGNATURE-----
> Version: PGP Personal Security 7.0.3
> 
> iQA/AwUBQZn7F1e1Bhkj9lZeEQIs7ACgkvsLkjM3Nl70UYX+bk7HXy2FWRIAniFO
> oNyhH1jtZ0Fph5ynIdoEyXzJ
> =dhFo
> -----END PGP SIGNATURE-----
>  
> 


> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-cfengine


-- 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





reply via email to

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