From: Glen Holcomb Date: 2008-04-04T05:44:14+09:00 Subject: Re: execute method at a certain time ------=_Part_4992_8638069.1207255446383 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Thu, Apr 3, 2008 at 2:40 PM, andy wrote: > Glen Holcomb wrote: > > > [Note: parts of this message were removed to make it a legal post.] > > > > How about something like this: > > > > sleep(time_to_go - Time.now) > > > > > it needs to do stuff inbetween the scheduled event > > -- > Eps > > Ah sorry, I misread needs to run all the time. Could you split that bit off into a separate thread? -- "Hey brother Christian with your high and mighty errand, Your actions speak so loud, I can't hear a word you're saying." -Greg Graffin (Bad Religion) ------=_Part_4992_8638069.1207255446383--