Re: Send out E-mail at given time
Hallo Javier,
this sound good. I'll try this.
Thank you,
Michael
On Fri 14 Dec 2012 07:58:26 PM CET, Javier Guerra Giraldez wrote:
> On Fri, Dec 14, 2012 at 8:37 AM, 4 The good Life we work
> <4thegdlife@googlemail.com> wrote:
>> Let's say I've choosen the 15th Dez 2012 as reminder date.
>> Then by 1AM the system should send out an E-mail to the user. E-mail is
>> saved under user-data.
>
> - create a 'custom management command'
> (https://docs.djangoproject.com/en/1.4/howto/custom-management-commands/).
> something like "manage.py send-emails" that checks the database and
> sends any programmed email.
>
> - add a cron job that periodically calls that command. (typically
> once an hour or a couple of times a day)
>
> --
> Javier
>
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home