From
https://docs.cfengine.com/lts/reference-functions-splayclass.html:
"...splayclass assumes that you are running CFEngine with the default schedule of "every 5 minutes". If you change the executor schedule control variable, you may prevent the splayclass from ever being defined...."
I'm running on a 15-minute interval. I need to set a command to run on every server, once a day only, without bottlenecks.
"splayclass" would be perfect, but it doesn't allow for customizable intervals.
My other options are:
1. Write a customized "edit_lines" bundle to create a cron job with random hour and minute, only if the cron job (with any hour and minute) is not already defined.
2. Try to hack something together to use one of my 96 different possible runtime intervals in every 24 hour period, and divide up the servers into up to 96 different buckets to make a manual approach to "splayclass."
3. Something else I haven't thought of yet.
Has anyone else encountered this problem? Is there any workaround I could use other than 1 or 2 above?
If not, has anyone had to write policy similar to the cron job edit lines bundle described above?
Thanks,
--Mike Weilgart
P.S.: If there is a ticket (bug report/feature request) relating to this, I'd love a link to it so I can watch and vote.