jimmycuadra/lita — pull request #20 by fukayatsu (2013-09-28 11:37:59+00:00)
Title: Add Lita::Scheduler

```ruby
module Lita
module Schedulers
class Sample < Scheduler
every '5s', :job1
cron '* * * * *', :job2

def job1
send_message(room: 'foo', message: Time.now.to_s)
end

def job2
send_message(user: 'bar', message: 'hi!')
end
end
Lita.register_scheduler(Sample)
end
end
```