Commit 0112dd8
committed
Add recurring schedule for notifying admin users of bounced emails
Schedule the ScheduleBounceNotificationsJob to run daily at 2:30am
when rails is running in production mode. This job will schedule
SendBounceNotificationsJobs to send notifications for any bounces that
occurred on the previous day to group admins, and for any bounces that
occurred 8 days ago to organisation admins.
2:30am was chosen just to not be the same time as other recurring
jobs.1 parent 3cd5eae commit 0112dd8
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
| |||
0 commit comments