Rufus-scheduler is a thread-based scheduler written in Ruby. It lets you write code like [sourcecode language="ruby"] Rufus::Scheduler.start Rufus::Scheduler.every '10m' do end [/sourcecode]