Hello,

I'm trying to come up with a function to send out X number of message per day(24hr day) but we need to randomize the time factore each day. For example if 50 messages are scheduled to be sent out in 24 hr time period we want to randomize the times they go out during this time period instead of a fixed time period.

So if a message goes out at 1:25am, the next message goes out at some random time, the next message goes out at a random time, and so on. We will be setting up a cron job to run a script every minute to send out these messages but don't want to send them out a per determined times but to fully randomize the time factor for each 24 time period(ea day).

Hope this makes sense, and someone may have done this before or may have some info the I can look into.

Thx's

Mike(mickalo)Blezien
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Thunder Rain Internet Publishing
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

--
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