Thanks it has worked after i have created a new script. ________________________________ From: Jonathan Field <jonathan.field@ptfs-europe.com> To: "Koha@lists.katipo.co.nz" <Koha@lists.katipo.co.nz> Sent: Monday, 14 January 2013, 11:23 Subject: Re: [Koha] Cronjob The other thing to try is to put the output to /tmp rather than /dev/null and see what messages you get in the resulting output. Might give you a pointer. */5 * * * * /usr/share/koha/bin/migration_tools/rebuild_zebra.pl -b -a -z >>/tmp/zebra.log Jonathan On 14 January 2013 05:37, MARC FELIX <billightness@yahoo.co.uk> 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 <ramirouvia@gmail.com> To: Marcel de Rooy <M.de.Rooy@rijksmuseum.nl> Cc: "Koha@lists.katipo.co.nz" <Koha@lists.katipo.co.nz> 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 <M.de.Rooy@rijksmuseum.nl>
export KOHA_CONF and PERL5LIB to the right Koha instance ?
________________________________________ Van: koha-bounces@lists.katipo.co.nz [koha-bounces@lists.katipo.co.nz] namens MARC FELIX [billightness@yahoo.co.uk] Verzonden: zondag 13 januari 2013 14:02 To: Koha@lists.katipo.co.nz 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 Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
-- Jonathan Field Technical Director, PTFS Europe Limited Content Management and Library Solutions +44 (0) 800 756 6803 (phone) +44 (0) 7919 372002 (mobile) +44 (0) 800 756 6384 (fax) jonathan.field@ptfs-europe.com skype: jonathan.field2 http://www.ptfs-europe.com _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha