<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">nitesh rijal</b> <span dir="ltr"><<a href="http://rijal.it">rijal.it</a>@<a href="http://gmail.com">gmail.com</a>></span><br>
Date: Mon, Nov 23, 2009 at 10:39 PM<br>Subject: Stuck with mailing overdue notice<br>To: koha <<a href="mailto:koha@lists.katipo.co.nz">koha@lists.katipo.co.nz</a>>, koha-devel <<a href="mailto:koha-devel@lists.koha.org">koha-devel@lists.koha.org</a>><br>
<br><br>Hello all<br><br>I am using KOHA 3.0.3 with zebra server. I have sendmail and it sends mail from command line.<br><br>I have set up a new patron with an email address and also made a lot of overdue for that patron.<br>
<br>
The <a href="http://fines.pl" target="_blank">fines.pl</a> file calculates the fine very well.<br><br>But when it comes to mailing the patron about the overdue then I'm stuck.<br><br>I have set up the triggers and the rules for mailing as well. I have changed the /usr/share/koha/bin/cronjobs/crontab.example accordingly.<br>
<br>This is what I did to change the crontab.example file.<br><br># crontab -u root crontab.example<br># crontab -u kohaadmin crontab.example<br># crontab -e<br><br>Now I edited the file, it uses nano editor to edit the crontab entries.<br>
<br>To save them I pressed Crtl+O and gave the path to save as /usr/share/koha/bin/cronjobs/crontab.example<br><br>To exit the crontab I pressed Ctrl+X.<br><br>To list the entries I used<br># crontab -l <br>and it listed all my entries fine.<br>
<br>Now I waited for the cron to run, but it didnot send the mail while it accumulated the fine.<br>Both the fine and mail scripts are in the same crontab.<br><br>So I ran the <a href="http://overdue_message.pl" target="_blank">overdue_message.pl</a> and <a href="http://process_message_queue.pl" target="_blank">process_message_queue.pl</a> manually. They showed me no error neither they send the mails.<br>
<br>What am I supposed to do now ????<br><br>I'm pretty much stucked.<br><br>Please Help.<br><br>Thankyou.<br clear="all"><font color="#888888"><br>-- <br>Nitesh Rijal<br>BE IT<br>email: <a href="http://rijal.it" target="_blank">rijal.it</a>@<a href="http://gmail.com" target="_blank">gmail.com</a><br>
url: <a href="http://niteshrijal.com.np" target="_blank">http://niteshrijal.com.np</a><br>facebook: <a href="http://facebook.com/openrijal" target="_blank">http://facebook.com/openrijal</a><br>twitter: <a href="http://twitter.com/openrijal" target="_blank">http://twitter.com/openrijal</a><br>
+9779841458173<br>
</font></div><br><br clear="all"><br>-- <br>Nitesh Rijal<br>BE IT<br>email: <a href="http://rijal.it">rijal.it</a>@<a href="http://gmail.com">gmail.com</a><br>url: <a href="http://niteshrijal.com.np">http://niteshrijal.com.np</a><br>
facebook: <a href="http://facebook.com/openrijal">http://facebook.com/openrijal</a><br>twitter: <a href="http://twitter.com/openrijal">http://twitter.com/openrijal</a><br>+9779841458173<br>