From: Jamey Cribbs Date: 2009-06-09T22:42:01+09:00 Subject: Re: doing something each second Off the top of my head, you can do something like: while true sleep 1 stuff end On Tue, Jun 9, 2009 at 8: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 > } > > Thanks > > Cheers, > > Chris >