I'll assume you have the circulation and fines rules setup already for overdue fines. Also it sounds like you have Koha version 3, so I'll assume you do.
Setting finesMode to "production" is the first step. The next is to make a cron job to run the script "fines.pl" once a day. There is an example cron file included with koha. In the source tree it's misc/cronjobs/crontab.example. In the install tree it's bin/cronjobs/crontab.example. This file is an example for the setup of a scheduled process on a unix style system ( like Linux ). Edit this file to suite your need. A few things to watch out for: For me to get this to work I had to run each process as "root" instead of "koha", on each line I replaced '$KOHA_USER' with 'root' The lines near the top, PERL5LIB, KOHA_CONF, and KOHA_CRON_PATH need to be set to match your install. On the line for fines, you may need to change 'longoverdue.pl' to 'fines.pl' or 'fines2.pl' depending on which version of Koha 3 you have. If you see 'fines.pl' in the bin/cronjobs folder then that is the one to use. Once this is edited to your needs copy or link it to the /etc/cron.d directory. You may have to touch the /etc/crontab file before cron will realize it's there. Once you have the cron job running properly your overdue fines show up the next day. You can watch the system log to see if cron complains about anything while reading the file. Mine now is complaining that the wrong users owns the crontab file. Good luck. On Wed, 2008-10-15 at 17:46 +0200, Rubén Gómez wrote: > Hello everybody. That's my first email so I hope I can express myself. > > I want to use the fines Mode but I'm not sure how to put it working. I > have gone to "Circulation preferences" and I put the "finesMode" > variable to "production", but it doesn't do nothing. > > I want to create a fine when anyone don't return a book on time, > something like to pay $0,5 each day it overpass the "Specify Due > Date". I suppose it must be done with "finesMode" but I don't know how > to do it. What about "accruefines cronjob", where can I found it? > > I hope you can help me. > > Thanks! > _______________________________________________ > Koha-devel mailing list > Koha-devel@lists.koha.org > http://lists.koha.org/mailman/listinfo/koha-devel _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha.org http://lists.koha.org/mailman/listinfo/koha-devel