lib/roqua/scheduling/scheduler.rb in roqua-support-0.3.4 vs lib/roqua/scheduling/scheduler.rb in roqua-support-0.3.5

- old
+ new

@@ -9,9 +9,11 @@ rescue Exception => ex Roqua::Support::Errors.report(ex) raise ex if Rails.env.test? end end + + Appsignal.increment_counter("scheduler.completed", 1) end end def jobs_to_run Roqua::Scheduling::CronJob.where('next_run_at <= ?', Time.now)