View Single Post
Old 07-09-2008, 12:24 PM  
roly
Confirmed User
 
Join Date: Aug 2002
Posts: 1,844
Quote:
Originally Posted by gornyhuy View Post
A simpler approach:
1)Have 1 daily cron job run a script that generates a random time tag for the day and store it in a db or text file
2)have a second cron running once ever 30 minutes or whatever and check to see if it has passed the randomly generated time. If it has, fire off the task and reset the stored time so it only does it once.
this looks like the way i'll make it work, thanks
roly is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote