From: Charles Oliver Nutter Date: 2009-06-10T01:13:09+09:00 Subject: Re: doing something each second On Tue, Jun 9, 2009 at 7:59 AM, Christoph Jasinski wrote: > Hi, > is it possible to execute a block each second for let's say 8 hours a day? > Instead of using threads maybe. Something like this: > > Time.each.second do { >  stuff > } There's no way to run something asynchronously every second or trigger something to run asynchronously every second without a thread of some kind or without interrupting the flow of the main thread. Why don't you want to use a thread? - Charlie