Thanks so much for your assistance. My koha is now indexing automatically. Am am however having problem making the backup script backup.sh to back up automatically though its working fine when i run it both from webmin and the terminal. Do you have an idea what could be the issue?
________________________________ From: Bernardo Gonzalez Kriegel <[email protected]> To: MARC FELIX <[email protected]> Cc: Ramiro Uviña <[email protected]>; Marcel de Rooy <[email protected]>; "[email protected]" <[email protected]> Sent: Monday, 14 January 2013, 8:55 Subject: Re: [Koha] Cronjob Marc, what is marcel said is that your script may not be finding the variables. Try the following, write a script with #!/bin/bash export KOHA_CONF=/path/to/koha/conf export PERL5LIB=/path/to/koha/lib /usr/share/koha/bin/migration_tools/rebuild_zebra.pl -b -a -z then chmod +x that script, and finally call that script from cron */5 * * * * /path/to/script > /dev/null Regards, Bernardo -- Bernardo Gonzalez Kriegel [email protected] On Mon, Jan 14, 2013 at 3:37 AM, MARC FELIX <[email protected]> wrote: > Yes i have tried that and its yielding the same results. The user running the > script is the koha user > > > > > ________________________________ > From: Ramiro Uviña <[email protected]> > To: Marcel de Rooy <[email protected]> > Cc: "[email protected]" <[email protected]> > Sent: Monday, 14 January 2013, 3:00 > Subject: Re: [Koha] Cronjob > > Did you try: > > */5 * * * * /usr/share/koha/bin/migration_tools/rebuild_zebra.pl -b -a -z >>/dev/null > > ? > > You can also check the permissions for the user running the script. > > > 2013/1/13 Marcel de Rooy <[email protected]> > >> export KOHA_CONF and PERL5LIB to the right Koha instance ? >> >> ________________________________________ >> Van: [email protected] [[email protected]] >> namens MARC FELIX [[email protected]] >> Verzonden: zondag 13 januari 2013 14:02 >> To: [email protected] >> Onderwerp: [Koha] Cronjob >> >> Hi all, i have configured my cronjob for index new records as below. >> >> */5 * * * * $KOHA_PATH/bin/migration_tools/rebuild_zebra.pl -b -a -z >> >/dev/null >> >> The records are however not being indexed every after five minutes as i >> expect yet when i run /usr/share/koha/bin/migration_tools/rebuild_zebra.pl-b >> -a -z on the terminal it indexes ok. What could be the problem? >> _______________________________________________ >> Koha mailing list http://koha-community.org >> [email protected] >> http://lists.katipo.co.nz/mailman/listinfo/koha >> _______________________________________________ >> Koha mailing list http://koha-community.org >> [email protected] >> http://lists.katipo.co.nz/mailman/listinfo/koha >> > _______________________________________________ > Koha mailing list http://koha-community.org > [email protected] > http://lists.katipo.co.nz/mailman/listinfo/koha > _______________________________________________ > Koha mailing list http://koha-community.org > [email protected] > http://lists.katipo.co.nz/mailman/listinfo/koha _______________________________________________ Koha mailing list http://koha-community.org [email protected] http://lists.katipo.co.nz/mailman/listinfo/koha

