User manual
Troubleshooting
To view how the Crontab is setup, we use the
crontab
command with the -1 option:
koha@linux:/home/koha # crontab -1
A properly configured Crontab will have the Koha -related environment
variables setup:
PERLSLIB=/home/koha/kohaclone
KOHA CONF=/etc/koha-dev/etc/koha-conf.xml
And, the
cronj ob
should be setup as follows:
30 6 *
*
* perl / home /koha /kohaclone /bin /cronjobs /process message queue.
pl
For more clues, run the
process message_ queue .pl
program from the Linux shell
in verbose mode using the
-v
option:
koha @ linux: / home /koha /kohaclone /misc /cronjobs # perl process_message_
queue.pl -v
Troubleshooting problems with generation of
notices
If you don't see any pending messages in the messaging tab, then there could be
a
problem with the Cronjob for the
overdue_notices .pl
program.
First, it might be a good idea to look at the
messages
log file to see if the program
is running:
koha@linux: /home /koha # tail -f /var /log /messages
May 31 09:45:01 koha@linux /usr /sbin /cron[8792]:
(koha) CMD (perl /home/
koha/kohaclone/bin/cronjobs/overdue_notices.pl -t)
A properly configured Crontab will have the Koha -related environment variables
setup, and a Cronjob for the
overdue_notices .pl
program:
koha@linux:/home/koha # crontab -1
PERLSLIB=/home/koha/kohaclone
KOHA CONF=/etc/koha-dev/etc/koha-conf.xml
45 5
* *
* perl /home/koha/kohaclone/bin/cronjobs/overdue_notices.pl -t
[ 208 ]