Attempting to setup cron for mailnotify and looking at both INSTALL.html and MailerContrib
, they specify to reference
I remembered that mailnotify script had been moved to tools. I tried running it from tools using command line and got the following message:
Can't locate setlib.cfg in @INC (@INC contains: /usr/local/perl/lib/5.8.7/i686-linux /usr/local/perl/lib/5.8.7 /usr/local/perl/lib/site_perl/5.8.7/i686-linux /usr/local/perl/lib/site_perl/5.8.7 /usr/local/perl/lib/site_perl .) at mailnotify line 28.
I suspect that if mailnotify is going to stay in tools, it needs to be updated and we need to change the docs. If the coding is done, i'll be glad to make the minor changes in the docs.
The docs are a bit up the creek (there are some < which are getting interpreted as html.
Corrected and re-released.
I'm opening this back up because a user was trying to follow the instructions for setting up cron in MailerContrib#Setting_up_your_cron_job
. He couldn't get them to work and I couldn't either. Seems like the sample cron job needs to read something like:
1 2 * * * * cd /usr/local/twiki/tools ; perl -I ../bin mailnotify -q
... or something along those lines....