Question
I have installed
MailerContrib. The problem is that everytime I run the
mailnotifier command, it send mails about all the topics changed previously, even if the topics are not changed again. Looks like the script
remove_obsolete_locks does not remove the locks.
The command does not do anything, as given below:
C:\Twiki\bin>c:\cygwin\bin\perl -wT remove_obsolete_locks
C:\Twiki\bin>
What could be the problem / solution ? Thanks
Environment
--
ChengappaCB - 26 Oct 2005
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.
The
MailerContrib records the time of it's last run in a file in the data directory. If that file can't be written (e.g. because of permissions) then you would get the effect you describe.
--
CrawfordCurrie - 01 Nov 2005
Thanks for the help
CrawfordCurrie. I have changed the permissions of all files and folders under Twiki/data to rwxrwxrwx. But the problem is still not solved. Anything else that may be wrong ? Which is the file which gets written ?
Also, if I use the
mailnotify, which is the default notifier, this problem does not arise. Hence I tend to think that it is not a problem with permissions...
--
ChengappaCB - 09 Nov 2005
Sorry for all the trouble. I was running mailnotifier with the 'T' switch like
c:\cygwin\bin\perl -wT mailnotifier -m. Once I removed the 'T', everything is solved.
--
ChengappaCB - 10 Nov 2005