Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 07:26 am EST
Geeklog Forums
Daily Digest Sending Multiple Email to Users
Status: offline
muntada
Forum User
Junior
Registered: 02/25/03
Posts: 34
I have had this happen before on another Geeklog site and I can't recall how I finally resolved it. I have a situation that every time a Daily Digest is sent out, it sends out multiple instances of the same email to each user.
In fact, over time, it gets worse. Initially it just sent two out; then three; then four; then five; etc.
Any idea what is going on?
--------------------
MuntadaNet, Inc.
Web Hosting
In fact, over time, it gets worse. Initially it just sent two out; then three; then four; then five; etc.
Any idea what is going on?
--------------------
MuntadaNet, Inc.
Web Hosting
18
12
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
It's probably running into a timeout when trying to send the emails to all users. So the server killed the job before it did get to the point where it considered all emails sent. And the next time it's run, it's starting from the beginning ...
There's a timestamp in the gl_vars table for the last successfully sent Daily Digest. You could update that manually or download my Manual Digest plugin (should be in the Downloads area somewhere), which has a handy "reset" button for that purpose.
If you can't increase the time allotment for the Daily Digest script, you should probably disable it. It's not really made for a lot of users ...
bye, Dirk
There's a timestamp in the gl_vars table for the last successfully sent Daily Digest. You could update that manually or download my Manual Digest plugin (should be in the Downloads area somewhere), which has a handy "reset" button for that purpose.
If you can't increase the time allotment for the Daily Digest script, you should probably disable it. It's not really made for a lot of users ...
bye, Dirk
12
9
Quote
Status: offline
muntada
Forum User
Junior
Registered: 02/25/03
Posts: 34
Thanks Dirk...
I have root access to the server and can make an config changes that is necessary. Having said that, what do I want to target from within the application and on the Apache config files to increase the timeout?
--------------------
MuntadaNet, Inc.
Web Hosting
I have root access to the server and can make an config changes that is necessary. Having said that, what do I want to target from within the application and on the Apache config files to increase the timeout?
--------------------
MuntadaNet, Inc.
Web Hosting
12
17
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Start with max_execution_time in your php.ini. That's for all PHP scripts, though, including those running in the webserver.
Not sure where to increase the max. execution time of a cronjob. That's beyond my somewhat limited knowledge of Unix/Linux ...
bye, Dirk
Not sure where to increase the max. execution time of a cronjob. That's beyond my somewhat limited knowledge of Unix/Linux ...
bye, Dirk
12
11
Quote
Status: offline
::Ben
Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
Hi muntada,
Maybe it would be a future task for geeklog dev to update the Daily Digest...
One question : How many users do you have in your DB?
Thanks.
::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
Maybe it would be a future task for geeklog dev to update the Daily Digest...
One question : How many users do you have in your DB?
Thanks.
::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
14
12
Quote
All times are EST. The time is now 07:26 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content