lib/roqua/scheduling/scheduler.rb in roqua-support-0.3.0 vs lib/roqua/scheduling/scheduler.rb in roqua-support-0.3.1

- old
+ new

@@ -40,8 +40,9 @@ def run_task(cron_job) task = schedule.tasks[cron_job.name] task.run + Appsignal.increment_counter("scheduler.run_task.completed.#{task.name}", 1) cron_job.update completed_at: Time.now, next_run_at: task.next_run_at end end