Hi Nelson I am not sure whether it is a good idea to use both the default and the branch specific settings. Here is our experience: I have helped set up six separate Koha systems, version 3.00.00.107 Of those libraries, three were single sites, three were multi-branch. We found that default rules for overdue notices do not work, even for the single site libraries. We had to set up the rules for each specified branch that you want to get overdues for, and delete any rules that are set at the default level. It was difficult to delete some of those rules so we had to do this using SQL to clear the table rows that had no specified branch code. This had us scratching our heads for a while. I do not know whether the default rules work in later versions. Another word of warning- do not set up Enhanced Messaging - the manual says this is experimental, and we found that it breaks other email notices if not set up correctly with a working SMS driver. Hope this helps, Agnes Nelson Fredsell (nelsonf) wrote:
Hello all, I can't get the overdue notices to trigger using crontab, nor can I generate the notices manually by running the perl script from the command line in PuTTY. !! We're Koha 3.00.01 using Postfix. crontab lines include
For testing, I'm trying to generate notices ONLY for my patron type (LIB-S - superlibrarian) and my branch (CFCE). Under Home>Administration>Patron categories only LIB-S patron type is set to Overdue = Yes. All others are set to Overdue = No.
1) I have overdue items due over several days, Dec 19, 20, 21, 22. in Home>Tools>Notice triggers (../overduerules.pl). 2) I have Default library set to Delay NULL and Letters 1,2,3 set to "No Notice". 3) However, on library CFCE and patron type LIB-S I have Delays set to 6,7,8 (days) on and Letters 1,2,3 set to "Overdue notice" (code is ODUE).
Then I open PuTTY and run the 2 perl scripts listed in the nightly crontab: 1) perl -I /usr/share/koha/lib /usr/share/koha/bin/cronjobs/overdue_notices.pl -t 2) perl -I /usr/share/koha/lib /usr/share/koha/bin/cronjobs/process_message_queue.pl
Overdue_notices.pl output looks pretty odd, and indicated 'returns 0 rows ... at line 370' on all passes. Anyway, no e-mails received! I ran this yesterday (28-Dec) and would have expected notices on items due 20,21 and 22-Dec because of Delay settings 6,7,8 days.
Any comments would be greatly appreciated.
Take care, Nelson
implementing a union catalogue in Cape Town, South Africa.
----- Nelson Fredsell nelsonf on Koha IRC implementing a small, non-profit union catalogue in Cape Town, South Africa
-- Agnes Rivers-Moore Assistant Librarian Hanover Public Library