Chris D., the relevant lines in the file that Chris C. mentioned are -- # ENVIRONMENT: # First, establish Koha's two important ENV variables. PERL5LIB=/usr/share/koha/lib KOHA_CONF=/etc/koha/koha-conf.xml -- and -- # ZEBRA INDEX UPDATES with -z option, incremental index updates throughout the day # for both authorities and bibs */10 * * * * $KOHA_CRON_PATH/../migration_tools/rebuild_zebra.pl -b -a -z
/dev/null --
Your error is due to not having properly set the environment. B. -- Bernardo Gonzalez Kriegel bgkriegel@gmail.com On Mon, Aug 1, 2011 at 7:09 AM, Chris Downs <chris.downs@blueglobe.co.nz>wrote:
Thanks Chris
I'll have a look and let you know the outcome
-----Original Message----- From: Chris Cormack [mailto:chrisc@catalyst.net.nz] Sent: Monday, 1 August 2011 10:03 p.m. To: Chris Downs Cc: koha@lists.katipo.co.nz Subject: Re: [Koha] Cron Failing $KOHAPATH/bin/migration_tools/ rebuild_zebra.pl -a
* Chris Downs (chris.downs@blueglobe.co.nz) wrote:
Hi Everyone,
When trying to run the Cron for Rebuild Zebra using sudo perl rebuild_zebra.pl ort perl rebuild_zebra.pl I get the below error
Take a look at misc/cronjobs/crontab.example
for how to export the variables properly.
Chris -- Chris Cormack Catalyst IT Ltd. +64 4 803 2238 PO Box 11-053, Manners St, Wellington 6142, New Zealand
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha