>>>>> "MB" == Mike Blezien <mick...@frontiernet.net> writes:

  MB> What they have right now are about 25 messages they wish to spread
  MB> out through out a 24hr period so they are sent out randomly during
  MB> this 24 period, not a pre determined every X minutes or X
  MB> hours. Why .... I'm not really sure, but that's what they want to
  MB> do. I think I have it figured out though.
 
as i said a simple solution is to slice up the 24 hours into fixed
intervals. then pick a random time INSIDE each interval. random enough
for those types of people. this is close to one message an hour so there
is plenty of variability within each hour. and the coding is trivial.

uri

-- 
Uri Guttman  ------  u...@stemsystems.com  --------  http://www.sysarch.com --
-----  Perl Code Review , Architecture, Development, Training, Support ------
---------  Gourmet Hot Cocoa Mix  ----  http://bestfriendscocoa.com ---------

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to