On Wed, Oct 15, 2008 at 6:08 PM, Michael Hafen <[EMAIL PROTECTED]> wrote: > 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. Yes, I'm using version 3 on a Debian Testing: Koha 3.00.00.107 Koha DB 3.0000107 Server version: Apache/2.2.9 (Debian) mysql Ver 14.12 Distrib 5.0.51a, for debian-linux-gnu (i486) using readline 5.2 perl, v5.10.0 Linux 2.6.26-1-686
> 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. Before using a cronjob I want to execute first fines.pl or fines2.pl to know what it does, and after that do the cronjob to execute at night. I'm having an error when executing those scripts: [EMAIL PROTECTED]:/usr/share/koha/bin/cronjobs$ ./fines.pl Can't locate C4/Context.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at ./fines.pl line 36. BEGIN failed--compilation aborted at ./fines.pl line 36. I suppose it's because it doesn't know where C4 is, but I don't know how to tell the script. I have set those variables: PERL5LIB=/usr/share/koha KOHA_CONF=/etc/koha/koha-conf.xml > 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. What's the differences between fines.pl, fines2.pl and fines-ll.pl. What is supposed it must be used? Thanks! _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha.org http://lists.koha.org/mailman/listinfo/koha-devel