Details
-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
5.1.5, 5.5.6
-
16
-
Severity 2 - Major
-
2
-
Description
Steps to Reproduce:
- Enable DEBUG logging on the package: com.atlassian.confluence.plugins.dailysummary
- Leave Confluence running for over an hour (alternatively, run the task via Confluence Admin > Scheduled Jobs)
Observe in the logs:
2014-08-28 15:31:27,740 INFO [scheduler_Worker-6] [plugins.dailysummary.scheduling.SummaryEmailJob] execute Executing scheduled Summary Email Job 2014-08-28 15:31:27,750 DEBUG [scheduler_Worker-6] [dailysummary.components.impl.DefaultSummaryEmailNotificationManager] apply Not sending email to xxxx, hour of day is 15 and needs to be 13 in timezone : sun.util.calendar.ZoneInfo[id="Australia/Sydney",offset=36000000,dstSavings=3600000,useDaylight=true,transitions=142,lastRule=java.util.SimpleTimeZone[id=Australia/Sydney,offset=36000000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=3,startMonth=9,startDay=1,startDayOfWeek=1,startTime=7200000,startTimeMode=1,endMode=3,endMonth=3,endDay=1,endDayOfWeek=1,endTime=7200000,endTimeMode=1]] 2014-08-28 15:31:27,774 INFO [scheduler_Worker-6] [dailysummary.components.impl.DefaultSummaryEmailService] sendEmailForDate Summary email job firing @ Thu Aug 28 15:31:27 EST 2014, scheduled fire time was : Thu Aug 28 15:31:27 EST 2014. false users to receive notifications. 2014-08-28 15:31:27,774 INFO [scheduler_Worker-6] [plugins.dailysummary.scheduling.SummaryEmailJob] execute Completed scheduled Summary email job, 0 emails added to notification queue
Looking at the DefaultSummaryEmailNotificationManager class, it seems there used to be a way of setting these emails to go out hourly, but this doesn't seem to be possible any more.
Please note the check is done for every user so in instances with a big user base it may also cause performance problems (to send nothing). By every user I mean every user in the database, whether they have permissions to access Confluence or not.
Attachments
Issue Links
- duplicates
-
CONFSERVER-34767 Running Recommended Updates Email task on Scheduled Jobs does nothing unless it's 1pm
- Closed
- is related to
-
CONFSERVER-30581 The daily summary email plugin causes high CPU usage
- Closed