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

Re: Creating a randomized cron entry



On Thu, Dec 15, 2005 at 09:05:03AM +0100, Florian Weimer wrote:
> What is the recommended way to achieve this?  Include a script, to be

Not a recommended way, but what about creating an entry which is
executed every minute and contains a "toss a coin" like function with a
probability of 1 / (number of minutes in a day) probability of success?

Of course you should have persistency of the seed used by that function
and you may choose a coarser granularity than 1 minute.

-- 
Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy
zack@{cs.unibo.it,debian.org,bononia.it} -%- http://www.bononia.it/zack/
If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. -!-

Attachment: signature.asc
Description: Digital signature


Reply to: