Skip to content

Instantly share code, notes, and snippets.

God.watch do |w|
w.name = "navvy-1"
w.group = 'navvy'
w.interval = 30.seconds
w.start = "rake navvy:work"
w.dir = RAILS_ROOT
w.env = {'RAILS_ENV' => RAILS_ENV}
w.log = "#{RAILS_ROOT}/log/navvy.log"
w.uid = 'rails'