summaryrefslogtreecommitdiff
path: root/templates/job/%name%.rb
blob: 76f221a49d997e5447b13eb2673b5ac11a6a6667 (plain)
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