[Koha] Crontab appearing to not run
Randall Rowe
r.rowe at lincolnlibraries.org
Fri Dec 17 06:26:22 NZDT 2010
Shawn,
Do you have lines like the following in your crontab?
PERL5LIB=/usr/share/koha/lib
KOHA_CONF=/etc/koha/koha-conf.xml
Be sure to change paths to whatever is appropriate for your installation.
Randy Rowe
Lincoln City Libraries I.T.
(402) 441-8523
r.rowe at lincolnlibraries.org
-----Original Message-----
From: "Fogg, Shawn (DPH)" <Shawn.Fogg at state.ma.us>
Sent 12/16/2010 11:05:13 AM
To: "Randall Rowe" <r.rowe at lincolnlibraries.org>, "koha at lists.katipo.co.nz" <koha at lists.katipo.co.nz>
Subject: RE: [Koha] Crontab appearing to not run
Hi Randy, Thanks, checking the mail shows crontab is running but with errors. One email is copied below. Any thoughts on how to correct this? Thanks, Shawn __________________________________________________ >From koha at koha Thu Dec 16 11:40:02 2010 Return-path: <koha at koha> Envelope-to: koha at koha Delivery-date: Thu, 16 Dec 2010 11:40:02 -0500 Received: from koha by koha with local (Exim 4.69) (envelope-from <koha at koha>) id 1PTGs6-0005yI-Ij for koha at koha; Thu, 16 Dec 2010 11:40:02 -0500 From: root at koha (Cron Daemon) To: koha at koha Subject: Cron <koha at koha> /home/koha/kohaclone/misc/migration_tools/rebuild_zebra.pl -b -a -z >/dev/null Content-Type: text/plain; charset=UTF-8 X-Cron-Env: <PERL5LIB=/home/koha/kohaclone> X-Cron-Env: <KOHA_CONF=/home/koha/kohaclone/etc/koha-conf.xml> X-Cron-Env: <KOHA_CRON_PATH=/home/koha/kohaclone/misc/cronjobs> X-Cron-Env: <SHELL=/bin/sh> X-Cron-Env: <HOME=/home/koha> X-Cron-Env: <PATH=/usr/bin:/bin> X-Cron-Env: <LOGNAME=koha> Message-Id: <E1PTGs6-0005yI-Ij at koha> Date: Thu, 16 Dec 2010 11:40:02 -0500 Use of uninitialized value $db_driver in concatenation (.) or string at /home/koha/kohaclone/C4/Context.pm line 692. Can't connect to data source 'dbname=__DB_NAME__;host=__DB_HOST__;port=__DB_PORT__' because I can't work out what driver to use (it doesn't seem to contain a 'dbi:driver:' prefix and the DBI_DRIVER env var is not set$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20101216/10778b2c/attachment.htm
More information about the Koha
mailing list