[Koha] crontab not working
Biblioteca Casa Balthasar
biblioteca at casabalthasar.org
Thu Nov 12 22:04:21 NZDT 2009
Hi Kete,
We've had some similar problems with this command in Crontab. One thing
that you should check would be the permissions on the folders affected by
rebuild_zebra.pl (for us that's /var/lib/koha/zebradb and its various
subfolders).
Perhaps the best thing to do would be to set up this cronjob to run under
the user 'koha' (to whom those folders and files probably or should belong),
though it may be possible that your setup is different.
Also, if you've run this cronjob under root, it's very likely that the files
in those directories have been recreated with root as their owner. You
could manually rechange the owner and group, and then set set-GID on all of
those folders, so that no matter what else happens, the files in those
folders will retain the same owner and group as the folders themselves.
Hope this helps.
Best,
Patrick Redmon
2009/11/12 Kete Jourge <activekete at yahoo.com>
> hi to all
> i'm using cron tab to abort indexing with zebra .. i installed koha 3.04 on
> ubuntu 9.10 and when running the below command in crontab not working i
> don't know why .. any helo ? : )
>
> *PERL5LIB=/usr/share/koha/lib/*
> KOHA_CONF=/etc/koha/koha-conf.xml
>
> ## rebuild zebra
> */1 * * * * KOHA_CONF=/etc/koha/koha-conf.xml PERL5LIB=/usr/share/koha/lib/ /usr/share/koha/bin/migration_tools/rebuild_zebra.pl -b -a -z >/dev/null
>
>
>
>
> _______________________________________________
> Koha mailing list
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20091112/5dd81a92/attachment.htm
More information about the Koha
mailing list