FEATURE: add event for scheduled_job_ran

This commit is contained in:
Sam 2017-10-23 17:22:17 +11:00
parent 220a961898
commit 55d096ee8b
1 changed files with 1 additions and 0 deletions

View File

@ -109,6 +109,7 @@ module Scheduler
success: !failed,
error: error
)
DiscourseEvent.trigger(:scheduled_job_ran, stat)
end
end
attempts(3) do