Question
Hi there,
I have set up the topic notifications on my company's TWiki install. The notifications are picked up and are correctly being emailed to subscribed members via cron. I set this up on the 30th June, however, the mailnotify email is still reporting topic changes since that date.
What I would like to see and how I thought it would work is a daily change notification, so it is only showing topic changes in the last 24 hours (my cron job is set to report at 8am everyday) - the way it is working just now it is repeating the same topic changes since the 30th June, so the email is getting bigger and bigger each day!
We thought it might be some mtime config that needs to be changed.
Any thoughts?
Thanks,
Stuart
Environment
--
StuartBell - 18 Jul 2008
Answer
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.
In
twiki/working/work_areas/MailerContrib there is a file for each web with the timestamp of the last notification. In each web there is a file
.changes where with a line for each change made in that web including the timestamp. So twiki/tools/mailnotify searches those
.change files and reports every change with a timestamp bigger than the timestamp in the
twiki/working/work_areas/MailerContrib files.
Check the
.change files in each web and compare them with the files in
=twiki/working/work_areas/MailerContrib directory. Compare the timestamps to check if TWiki is modifying those files properly.
Also check that you have the last
MailerContrib plugin in case you upgraded TWiki from 4.1 because the paths used changed in TWiki 4.2.
--
EnriqueCadalso - 24 Jul 2008
--
CrawfordCurrie - 03 Aug 2008
I checked the paths for
MailerContrib and I found the timestamp file for my web. This was created on June 30th, which is the date my updates are stuck on as a baseline - so your explanation is correct. I think the logic where the .changes times are being compared is working too.
The problem as I see it, is that the
MailerContrib timestamp file for my web is not being re-stamped to move that date continually forward so that the notifications are only showing the most recent changes, rather than all changes since that date in June.
Should there not be a process to update the
MailerContrib timestamp for the web? Otherwise, it will keep reporting the same topics in perpetuity.
Thanks, Stuart
--
StuartBell - 09 Sep 2008
Just a follow on from my last comment, the intended functionality that I am looking for is "Each TWiki web has an automatic e-mail notification service that sends you an e-mail with links to all of the topics modified since the last alert."
In a nutshell, the "topics modified since the last alert" functionality is not quite working at my end and I think it is because the
MailerContrib timestamp file is not being refreshed upon each time mailnotify is ran.
Thanks.
--
StuartBell - 09 Sep 2008
Closing after more than 30 days. Please reopen with more details if needed...
--
PeterThoeny - 06 Nov 2008