开发者

Automatic email notifications based on date in django

开发者 https://www.devze.com 2023-01-04 20:04 出处:网络
I have to implement a way to send automatic notification emails based on a model DateFields. I\'ll put an example.

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开发者_StackOverflow a designated user when the current date reaches a week before (send it in 2010-07-16). Is there any way to accomplish this?


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号