Add the env variable to the same execution line as the script in the cron config (shown in earlier post). 52 * * * * PERL5LIB=/path/to/koha/lib /path/to/koha/bin/migration_tools/rebuild_zebra.pl -b Or my favorite, edit the script to include the koha lib path. In this case the script is Perl so the added line should look like this: use lib '/path/to/koha/lib'; Inserted before other 'use' lines at the top of the script. ----- Original Message ----- From: "sheldon_tappin" <thecarterii@hotmail.com> To: <koha@lists.katipo.co.nz> Sent: Monday, February 14, 2011 8:47 AM Subject: Re: [Koha] zebra not rebuilding
I put the variables in the crontab file under #environment and it saved it. But I'm still getting the error. I don't know why -- View this message in context: http://koha.1045719.n5.nabble.com/zebra-not-rebuilding-tp3382983p3384560.htm... Sent from the Koha - Discuss mailing list archive at Nabble.com. _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha