delayed_job_restart 0.0.0 → 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/delayed_job_restart.rb +6 -0
- metadata +1 -1
data/lib/delayed_job_restart.rb
CHANGED
@@ -1,4 +1,10 @@
|
|
1
1
|
module DelayedJobRestart
|
2
|
+
# put the delayed_job_stop_alert method which checks for the delayed_job running status
|
3
|
+
# in a schecdule job which runs in a regular interval
|
4
|
+
|
5
|
+
# add email_ids in Settings.delayed_job_alert_recipients (for ex: application.yml) to which the alert
|
6
|
+
# mail has to go in the send_delayed_job_stop_alert
|
7
|
+
# method.
|
2
8
|
|
3
9
|
module_function
|
4
10
|
|