SID-00472: why can't use WebNotify?
| Status: |
Answered |
TWiki version: |
4.3.1 |
Perl version: |
|
| Category: |
MailInContrib |
Server OS: |
fedora 10 |
Last update: |
16 years ago |
about mailnotify. I have a strange problem. when I install twiki website and finish configuration. the email function is normal working at registration. I also setup the web mailnotify. sometimes it works well. when a topic changed. it would send mails. for test. I don't use cron job. just use the manual command:
perl -I /twiki-w/twiki/bin /twiki-w/twiki/tools/mailnotify
but sometimes. when I have changed the same topic. then I run the same command. it couldn't send mail. the output is:
Last notification was at 2009-08-11T03:17:10Z
0 change notifications from <AWebName>
the time 2009-08-11T03:17:10 would be GMT time(that's another issue. I think many users would like to display locale time). but in fact I do have changed the topic. and the topic's last modify time is later than 2009-08-11T03:17:10. e.g. the time displayed on the browser is:
r1 - 2009-08-11 - 04:07:58
I don't know what's wrong. it seems to happen randomly. sometimes good and sometimes fail. could someone solve it?
--
LukeVi - 2009-08-11
Discussion and Answer
Additional: Now if I created a new topic. then run perl -I /twiki-w/twiki/bin /twiki-w/twiki/tools/mailnotify it would send mails immediately. but the changes before would be ignored. and it is random. sometimes(especialy don't use twiki for a long time) when I change the same topic the mailnotify can send mails. and sometimes it can't. at this time it always prompt:
0 change notifications from <testWeb>
how can I do?
--
LukeVi - 2009-08-11
Changes to topics have to be done by a different user than the one being notified.
--
HugoDeLaCerda - 2009-08-14
I solve this problem through set
LocalSite.cfg:ReplaceIfEditedAgainWithin = 0,if I change this parameter=3600(defalut) . mailnotify can't send mail. and if I change it=0. mailnotify send successfully at once.
it is strange because I don't find such explain in mailnotify documents. does twiki need to be improved on software or document? so make people avoid the same problem.
--
LukeVi - 2009-08-15
Seems to be answered.
Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the
TWiki consultants if you need timely help. We invite you to
get involved with the community, it is more likely you get community support if you support the open source project!
--
PeterThoeny - 2009-10-02
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.