Forums / Setup & design / Digests

Digests

Author Message

Yvan Cottyn

Tuesday 30 December 2003 3:16:28 am

Hi all,

Anybody any experience with sending digest mails instead of separate mails for notifications?
I am running "runcronjobs.php" from cron every hour. Noptification mails are sent out correctly.
When a users enables digests, no digest mails are sent out.....
After disabling digests the user starts receiving the normal notification mails again.
Any hints?

TIA
vanne

FYI ezp version is 3.2-3

Gunnstein Lye

Thursday 22 April 2004 5:45:07 am

Same problem here (3.3-4), I'm trying to fix it.

Gunnstein Lye

Thursday 22 April 2004 6:38:48 am

It seems this is not a bug. The send time will be set to one week in the future, rather than today, if the publish event happens on the same day as the notification setting was made. Try enabling notification for a week (or reduce the timestamp in the eznotificationcollection_item table in the database if you are in a hurry).

Darren Pike

Tuesday 27 April 2004 9:24:01 pm

We are experiencing a similar problem (3.3-4) where the digest isn't working. I did forward set the digest by a couple of days and waited for the digest email but it has never arrived.
Reverting to normal hourly notification works fine.

Darren

DB Informatics

Gunnstein Lye

Wednesday 28 April 2004 12:28:29 am

By the way, I've made a hack that gives you the option of daily or monthly digest:
http://ez.no/community/contributions/hacks/daily_and_monthly_digest_for_notification

Darren,
Are you sure you waited at least untill the timestamp in eznotificationcollection_item? (could take up to a week). Also, is the cronjob running correctly?

Darren Pike

Wednesday 28 April 2004 1:09:33 am

I forward set it by a few days, but not a whole week. I presumed it would just send whatever had changed in those last few days.
Looking at the timestamp in eznotificationcollection_item is quite interesting, because I have set the digest to Wed at 1.00 am, but the timestamp recorded is 1083684600 which according to http://www.unixtimestamp.com/index.php is Tuesday at 11.30 am.
? is there an offset predefined in eZp

DB Informatics

Gunnstein Lye

Wednesday 28 April 2004 8:12:01 am

Weird, I have not experienced anything like this. I suggest you file a bug report about it.

eZ debug

Timing: Jan 31 2025 01:25:40
Script start
Timing: Jan 31 2025 01:25:40
Module start 'content'
Timing: Jan 31 2025 01:25:40
Module end 'content'
Timing: Jan 31 2025 01:25:40
Script end

Main resources:

Total runtime0.0257 sec
Peak memory usage6,144.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 587.7500370.3203
Module start 'content' 0.00640.0115 958.07031,005.4453
Module end 'content' 0.01790.0077 1,963.515674.7031
Script end 0.0256  2,038.2188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00218.3426120.0002
Check MTime0.00093.5536120.0001
Mysql Total
Database connection0.00062.477210.0006
Mysqli_queries0.00249.426540.0006
Looping result0.00000.042720.0000
Template Total0.007328.610.0073
Template load0.00072.668510.0007
Template processing0.006725.937210.0067
Override
Cache load0.00051.772210.0005
General
dbfile0.003112.0412100.0003
String conversion0.00000.015830.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs