Closed 69mb closed 12 years ago
I've added a new settings item - river_expiry_notice_period
i.e. the no. of days to the expiry date when a notification should be sent out. This parameter feeds into the process of selecting rivers which are eligible for having their expiry dates extended when their respective owners access them. Additionally, there's an expiry_candidate
flag in the rivers
table which must be set to 1
if a river meets the extension eligbility criteria which is:
(current_date + river_expiry_notice_period) >= river_date_expiry
Provide an option for using Send Grid to send out notification messages because using sendmail is likely to land them in spam.
Re-opening...
Use sendmail. SendGrid is already our smart host.
Create an external job for river expiry that can be run in the cron that: