Allow throttling of mails to prevent cron timeout
chamb1 - October 1, 2007 - 19:14
| Project: | Notify |
| Version: | HEAD |
| Component: | Miscellaneous |
| Category: | feature request |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
Description
I have the notify module set up to send out email notifications of new content once a day at 7 PM. The first day it worked fine. The next two days it sent out multiple messages to each subscribed user until I disabled the module. I tried changing my cron interval to 30 minutes thinking that jobs were overlapping, but that did not fix it. Anyone else having this problem?

#1
See Multiple notifications sent.
#2
@chamb1 - I have experienced the exact same issue. See below.
@Benjamin - That issue (http://drupal.org/node/111762), while being similar, does not appear to be the same as this one as it is related to cron starting a second time before it's finished running the first time. I don't have that issue because it only takes a few seconds for my cron to complete.
Here's what I noticed:
I had previously been running the following flawlessly:
Then I upgraded to the following:
The first 24hrs it ran fine and sent out the emails to all four hundred some user accounts as you would expect.
Today it sent out six identical emails throughout the day before I turned it off.
Obviously whatever is causing this is not good.
#3
Anyone have any further insight about this issue?
#4
(If I'm wrong about it being the same issue as 111762, should mark this active.)
#5
I got this in spades. I think the problem may be related to cron job or php job runtimes being limited by certain application hosting providers, and the "commit" of users being notified doesn't happen until all users have been notified.
#6
+1
Got same probleme with version 5-13.
Cron go on timeout after 3 minutes and Notify do not commit users witch have been notified => so they are notify at next cron job...
#7
This probably won't be fixed in D5 without a patch from the community.
A roadmap has been established for merging with Notifications module or fixing this issue independently, if need be.
Details are on Notify by views project page.