FEATURE: add event for scheduled_job_ran
This commit is contained in:
parent
220a961898
commit
55d096ee8b
|
@ -109,6 +109,7 @@ module Scheduler
|
||||||
success: !failed,
|
success: !failed,
|
||||||
error: error
|
error: error
|
||||||
)
|
)
|
||||||
|
DiscourseEvent.trigger(:scheduled_job_ran, stat)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
attempts(3) do
|
attempts(3) do
|
||||||
|
|
Loading…
Reference in New Issue