1 2 3 4
# :first_in sets how long it takes before the job is first run. In this case, it is run immediately SCHEDULER.every '1m', :first_in => 0 do |job| send_event('widget_id', { }) end