Tags:
create new tag
view all tags

SID-01765: Webnotify sends increasing list of changes that never resets

Status: Answered Answered TWiki version: 5.1.4 Perl version: 5.10.1
Category: MailerContrib Server OS: Debian squeeze Last update: 12 years ago

We have Webnotify running on a nightly schedule. Every day, subscribers get a list of changes, in chronological order, but the list just keeps growing. In other words, subscribers are getting all changes since June 29 (when we started the service).

I would think that the correct operation is that the notification only occurs once for each change. i.e., the notification should only include changes since the last email notification.

I have read through the MailerContrib documentation and been unable to find settings related to "resetting the clock" or to limit the range of dates over which changes qualify for inclusion.

If relevant, cron job on Debian server is as follows: 0 2 * * * www-data perl -I /path-to-twiki/twiki/bin /path-to-twiki/twiki/tools/mailnotify

-- Erik Blake - 2013-07-15

Discussion and Answer

Hi, how are the rights for www-data in twiki/working/work_areas/MailerContrib can the user write?

(bad english I know frown )

-- Daniel Perabo - 2013-07-17

Thanks, that was the problem. Permissions were correct, but owner/group for that particular directory had somehow been set to root, not www-data.

-- Erik Blake - 2013-07-17

All dirs and files below twiki/data, twiki/pub and twiki/working need to be owned by the webserver user.

-- Peter Thoeny - 2013-07-17

I just checked and all files/directories had the correct ownership, with the exception of MailerContrib (before I corrected it). I am not sure why MailerContrib had different ownership - I must have erred during the last TWiki upgrade.

Thanks for the help!

-- Erik Blake - 2013-07-17

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title Webnotify sends increasing list of changes that never resets
SupportCategory MailerContrib
TWiki version 5.1.4
Server OS Debian squeeze
Web server Apache 2.2.16
Perl version 5.10.1
Browser & version

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2013-07-17 - ErikBlake
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.