[Koha] Fines Calculation not working

Agnes Rivers-Moore arm at hanover.ca
Tue Nov 17 07:10:50 NZDT 2009


I see the example CRON you sent still has the 
*KOHA_CONF=/home/liblime/kohaclone...   *and same for PERL5LIB. In your 
own database do you have these in a different path?
If your other cron jobs are working OK, than this is not an issue, but 
always check path and permissions, especially for CRON tasks.

Also I see that you have set your fines to accrue only once every 5 
days. Also you have allowed one grace day. If I am understanding that 
correctly, the system will charge $1 on the 6th day. If you have also 
set a limit of 5 days maybe that is the problem? (My own version does 
not have the 'Fine days' option so I am not sure how that is supposed to 
work.)

Agnes

nitesh rijal wrote:
> Hello all.
>
> I am using Koha 3.0.3 on Debian Lenny. I have set up a running library 
> but I'm having problems with fine calculation. I have set the due date 
> to 2008 and maximum days for fine to 5 days, yet it is not calculating 
> the fine.
>
> Here is how my settings look like:
>
> ?ui=2&view=att&th=124fc7cf00034d81&attid=0.1&disp=attd&realattid=ii_124fc7cf00034d81&zw
>
>
>
> ?ui=2&view=att&th=124fc7d19223ae11&attid=0.1&disp=attd&realattid=ii_124fc7d19223ae11&zw
>
>
> ?ui=2&view=att&th=124fc7d403041c0a&attid=0.1&disp=attd&realattid=ii_124fc7d403041c0a&zw
>
>
> This is how my crontab.example looks like:
>
> **************************************************************************************************************************************************************************
>
>     ** PERL5LIB=/home/liblime/kohaclone*
>     *KOHA_CONF=/home/liblime/kohaclone/etc/koha-conf.xml*
>
>     *# Some additional variables to save you typing*
>     *KOHA_CRON_PATH = /home/liblime/kohaclone/misc/cronjobs*
>     *#*
>     *# MULTIPLE KOHA SUPPORT:*
>     *# You can still run jobs for this user's additional koha installs,*
>     *# by manipulating those variables in the command.*
>     *#*
>     *# For example, on the same codebase:*
>     *# */10 * * * *   
>     KOHA_CONF=/home/liblime/koha-test/etc/koha-conf.xml
>     /home/liblime/kohaclone/misc/migration_tools/rebuild_zebra.pl
>     <http://rebuild_zebra.pl> -b -a -z >/dev/null*
>     *#*
>     *# For example, on a separate codebase:*
>     *# */10 * * * *   
>     KOHA_CONF=/home/liblime/koha-test/etc/koha-conf.xml
>     PERL5LIB=/home/liblime/koha-test
>     /home/liblime/koha-test/misc/migration_tools/rebuild_zebra.pl
>     <http://rebuild_zebra.pl> -b -a -z >/dev/null*
>     *#*
>     *# ADDITIONAL INFO:*
>     *# See the perldoc of individual scripts to determine what other
>     options*
>     *# are available.  Check the man page for crontab to understand the*
>     *# schedule syntax for your system.*
>     *#*
>     *# NOTE: Don't forget to keep the empty line at the bottom.*
>     *# Cron/crontab will choke without it.*
>     *#*
>     *# SCHEDULED JOBS:*
>     *# m h  dom mon dow   command*
>
>     *# OVERDUE NOTICES*
>     *0    1 * * *  $KOHA_CRON_PATH/overdue_notices.pl
>     <http://overdue_notices.pl> -t*
>
>     *# FINES*
>     *5    1 * * *  $KOHA_CRON_PATH/fines.pl <http://fines.pl>*
>
>     *# ADVANCE NOTICES*
>     *10   1 * * *  $KOHA_CRON_PATH/advance_notices.pl
>     <http://advance_notices.pl> -c*
>
>     *# PROCESS LONG OVERDUES*
>     *# updates item status from available to longoverdue for items
>     long overdue*
>     *# 19 1 * * *  $KOHA_CRON_PATH/longoverdue.pl
>     <http://longoverdue.pl> --lost 90=1 --confirm*
>
>     *# SEND EMAILS*
>     *15   * * * *  $KOHA_CRON_PATH/process_message_queue.pl
>     <http://process_message_queue.pl>*
>
>     *# Hourly holds queue updated*
>     *52   * * * *  $KOHA_CRON_PATH/holds/build_holds_queue.pl
>     <http://build_holds_queue.pl> >/dev/null 2>&1*
>
>     *# ZEBRA INDEX UPDATES with -z option, incremental index updates
>     throughout the day*
>     *# for both authorities and bibs*
>     **/10 * * * *  $KOHA_CRON_PATH/../migration_tools/rebuild_zebra.pl
>     <http://rebuild_zebra.pl> -b -a -z >/dev/null*
>
>     *# services_throttle -- resets the xISBN service*
>     *59 23 * * *  $KOHA_CRON_PATH/services_throttle.pl
>     <http://services_throttle.pl> > /dev/null 2>&1*
>
>     *# ROTATE LOGS*
>     *# Obviously, one needs logrotate(8) to do this*
>     *# 20 1 * * *  /usr/sbin/logrotate -s
>     /home/liblime/kohaclone/var/run/zebradb/logstatus
>     /home/liblime/kohaclone/etc/logrotate.conf*
>
>
> *
> ***************************************************************************************************************************************************************************
>
> What else should I do to get the fines working????
>
>
> Please Help
>
>
> -------
> Nitesh Rijal
> BE IT
> http://niteshrijal.com.np
> +9779841458173
> ------------------------------------------------------------------------
>
> _______________________________________________
> Koha mailing list
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
>   
> ------------------------------------------------------------------------
>
> This email was Anti Virus checked by Astaro Security Gateway. http://www.astaro.com

-- 

Agnes Rivers-Moore
Assistant Librarian
Hanover Public Library



More information about the Koha mailing list