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.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 30 2025 21:39:22
Script start
Timing: Jan 30 2025 21:39:22
Module start 'layout'
Timing: Jan 30 2025 21:39:22
Module start 'content'
Timing: Jan 30 2025 21:39:24
Module end 'content'
Timing: Jan 30 2025 21:39:24
Script end

Main resources:

Total runtime1.5084 sec
Peak memory usage8,192.0000 KB
Database Queries71

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0090 588.0000151.1953
Module start 'layout' 0.00900.0051 739.1953220.6406
Module start 'content' 0.01411.4934 959.83594,517.5703
Module end 'content' 1.50750.0009 5,477.406315.8984
Script end 1.5083  5,493.3047 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.2680160.0003
Check MTime0.00130.0894160.0001
Mysql Total
Database connection0.00120.079910.0012
Mysqli_queries1.406393.2320710.0198
Looping result0.00100.0674690.0000
Template Total1.431394.920.7157
Template load0.00230.155120.0012
Template processing1.429094.733820.7145
Template load and register function0.00200.133410.0020
states
state_id_array0.00240.160810.0024
state_identifier_array0.00420.279020.0021
Override
Cache load0.00200.1339350.0001
Sytem overhead
Fetch class attribute can translate value0.00200.131130.0007
Fetch class attribute name0.00220.148880.0003
XML
Image XML parsing0.00200.134030.0007
class_abstraction
Instantiating content class attribute0.00000.0020110.0000
General
dbfile0.00270.1782160.0002
String conversion0.00000.000540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
10content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 29
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs