Second based or permanent tasks in rails

Hi,

i’ve been searching for hours now. May be some one can nudge in me the
right direction.

What I need.

A gem/plugin or tool (OS X) that is capable to perform tasks in a rate
of at least 5 seconds. Permanent would be even better.

Everything cron related can’t be used though because it’s minute based
in the smallest rate.

Thanks for your help.

Daemons is the answer…of course… :wink:

sudo gem install daemons
script/plugin install git://github.com/dougal/daemon_generator.git

http://railscasts.com/episodes/129-custom-daemon

Regards