Is there any chance of a change to the C code that implements "splayclass" to give me an easy way of selecting a random quarter-hour slot in each 6 hour shift? I too have had to up my schedule and reduce my default splay time to 5 minutes in cf-execd to allow the use of splayclass.
Chris Ritson (Computing Officer and School Safety Officer) Room 707, Claremont Tower, EMAIL: c.r.rit...@ncl.ac.uk School of Computing Science, PHONE: +44 191 222 8175 Newcastle University, FAX : +44 191 222 8232 Newcastle upon Tyne, UK NE1 7RU. WEB : http://www.cs.ncl.ac.uk/ >-----Original Message----- >From: help-cfengine-boun...@cfengine.org [mailto:help-cfengine- >boun...@cfengine.org] On Behalf Of Mark >Sent: 27 April 2011 05:20 >To: Michael Stevens >Cc: help-cfengine@cfengine.org >Subject: Re: Cfengine Help: Re: Avoiding "Duplicate selection of value" > >No nothing is hardcoded, but the default exec time is 5 minutes. You are >not missing out. > > >Mark > > >On 27 Apr 2011, at 01:09, Michael Stevens <m...@tippett.com> wrote: > >> I wasn't aware of this. Correct me if I'm wrong, but from reading the >docs, the "on" interval is hard-coded to 5 minutes, eg, since we're >running cf3 every 15 minutes from cron, we'd miss 2/3 of the activations >unless we up our schedule to every 5 minutes. >> >> On Apr 26, 2011, at 11:19 AM, no-re...@cfengine.com wrote: >> >>> Have you looked a splayclass? It can randomize when promises are >kept without >>> the overhead of calling a shell. >>> http://www.cfengine.org/manuals/cf3-reference.html#Function- >splayclass >> _______________________________________________ >> Help-cfengine mailing list >> Help-cfengine@cfengine.org >> https://cfengine.org/mailman/listinfo/help-cfengine >_______________________________________________ >Help-cfengine mailing list >Help-cfengine@cfengine.org >https://cfengine.org/mailman/listinfo/help-cfengine _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine