On Jun 25, 10:49 pm, Wiiboy <jordon...@gmail.com> wrote:
> Question: how often should I have a cron job work to send emails?  

Depends on the volume of emails and the frequency with which new
articles are submitted to your site. Just try a frequency of say every
10 minutes and adjust it up or down when you have real-life data to
work with.

> Or
> should I just have it so that a few items from a task DB are done each
> request (e.g. split up emails into groups, and email them a few per
> request)?

It doesn't feel like a "clean" approach to me to do this in the
request cycle. But if it's a small and low volume app and you are the
only developer managing it, you could get away with it :)

-RD



--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to