User manual
Troubleshooting
You might also want to make sure that the fines
. pl program is setup in the
correctly in the Crontab:
koha @linux: /home /koha # tail -f /var /log /messages
Jul 14 10:05:01 koha @ linux /usr /sbin /cron[7741]:
(root) CMD
perl / home / koha /kohaclone /bin /cronjobs /fines.pi)
A properly configured Crontab will have the Koha -related environment variables
setup, and a Cronjob for the fines .pl program:
koha@linux:/home/koha # crontab -1
PERLSLIB=/home/koha/kohaclone
KOHA CONF=/etc/koha-dev/etc/koha-conf.xml
0 7 * *
* perl / home /koha /kohaclone /bin /cronjobs /fines.pl
For more clues, try running the fines .pl program from the Linux shell:
koha @linux: / home /koha /kohaclone /misc /cronjobs # perl fines.pl
Fines assessment -- 2010 -07 -17 -- Saved to /tmp /koha_2010- 07- 17.1og
Number of Overdue Items:
counted 1
reported 1
The program outputs information into a log file, which might contain interesting
information:
koha @ linux: / home /koha /kohaclone /misc /cronjobs # vi /tmp/koha_2010-07-
17.log
cardnumber
categorycode
surname firstname
email
phone
address citystate
itemnumber
barcode date_due
type
days_overdue
fine
1
S
Sirohi
Savitra myemail@mydomain.com
12345678
My Address 1
1
30108000050959
2010 -07 -14
3
3
[210]