[Koha] Cronjob errors

Doug Dearden dearden at sarsf.org
Fri Jul 12 04:15:34 NZST 2013


Hello all,

I don't think this is critical, but every night that the cron jobs run I get this email:

>From root at sar75linux.campus.sarsf.org Thu Jul 11 06:32:28 2013
Envelope-to: root at sar75linux.campus.sarsf.org
Delivery-date: Thu, 11 Jul 2013 06:32:28 -0600
Date: Thu, 11 Jul 2013 06:32:28 -0600
From: root at sar75linux.campus.sarsf.org (Cron Daemon)
To: root at sar75linux.campus.sarsf.org
Subject: Cron <root at SAR75Linux> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
Content-Type: text/plain; charset=UTF-8
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <LOGNAME=root>

/etc/cron.daily/koha-common:
[: 97: missing ]
[: 97: missing ]
[: 97: missing ]


Here's the server info:

Koha version:

3.10.00.000

OS version ('uname -a'):

Linux SAR75Linux 2.6.32-5-686 #1 SMP Sun Sep 23 09:49:36 UTC 2012 i686 GNU/Linux

Perl interpreter:

/usr/bin/perl

Perl version:

5.010001

Perl @INC:

/usr/share/koha/lib
/etc/perl
/usr/local/lib/perl/5.10.1
/usr/local/share/perl/5.10.1
/usr/lib/perl5
/usr/share/perl5
/usr/lib/perl/5.10
/usr/share/perl/5.10
/usr/local/lib/site_perl
.

MySQL version:

mysql Ver 14.14 Distrib 5.1.63, for debian-linux-gnu (i486) using readline 6.1

Apache version:

Server version: Apache/2.2.16 (Debian)

Zebra version:

Zebra 2.0.47 (C) 1994-2010, Index Data ApS Zebra is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. SHA1 ID: e4e44d1916c6e80e01aad163b487ee41c22272ba Using ICU


Koha installed from packages on Debian Squeeze .  The cron file is the default included in the package.  It looks like this:

#!/bin/sh
# /etc/cron.daily/koha-common -- Daily housekeeping tasks for all Kohas.
# Copyright 2010  Catalyst IT, Ltd
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

koha-foreach --enabled --email /usr/share/koha/bin/cronjobs/overdue_notices.pl -t
koha-foreach --enabled /usr/share/koha/bin/cronjobs/fines.pl
koha-foreach --enabled --email /usr/share/koha/bin/cronjobs/advance_notices.pl -c
koha-foreach --enabled /usr/share/koha/bin/cronjobs/holds/cancel_expired_holds.pl >/dev/null 2>&1
koha-foreach --enabled /usr/share/koha/bin/cronjobs/services_throttle.pl > /dev/null 2>&1
koha-foreach --enabled /usr/share/koha/bin/cronjobs/cleanup_database.pl --sessions --zebraqueue 10
koha-foreach --enabled --noemail /usr/share/koha/bin/cronjobs/cleanup_database.pl --mail
koha-run-backups --days 2 --output /var/spool/koha

I couldn't find anything in bugzilla.  I am running three instances of Koha which I assume is why I get the error message three times.

Thanks for any help.

Doug Dearden
Director, IT
School for Advanced Research
(505)954-7220
sarweb.org



More information about the Koha mailing list