Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Automatic email notifications based on date in django

I have to implement a way to send automatic notification emails based on a model DateFields. I'll put an example.

I have a DateField with 2010-07-23 stored in it and I want django to send an email to a designated user when the current date reaches a week before (send it in 2010-07-16). Is there any way to accomplish this?

like image 463
CastleDweller Avatar asked Jun 28 '10 16:06

CastleDweller


1 Answers

You'll need to set up an external job, probably triggered via cron, that checks the date and sends the email as necessary.

like image 95
Daniel Roseman Avatar answered Nov 03 '22 16:11

Daniel Roseman