Hi Kete,<div><br></div><div>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 <a href="http://rebuild_zebra.pl">rebuild_zebra.pl</a> (for us that's /var/lib/koha/zebradb and its various subfolders). </div>
<div><br></div><div>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. </div>
<div><br></div><div>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.</div>
<div><br></div><div>Hope this helps.</div><div><br></div><div>Best,</div><div>Patrick Redmon</div><div><br></div><div><br><br><div class="gmail_quote">2009/11/12 Kete Jourge <span dir="ltr"><<a href="mailto:activekete@yahoo.com">activekete@yahoo.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>hi to all <br>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 ? : ) <br>
        
        
        
        
<pre style="text-align:left"><em><span lang="en">PERL5LIB=/usr/share/koha/lib/</span></em>
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/<a href="http://rebuild_zebra.pl" target="_blank">rebuild_zebra.pl</a> -b -a -z >/dev/null</pre>
<br></div>
</div><br>
</div><br>_______________________________________________<br>
Koha mailing list<br>
<a href="mailto:Koha@lists.katipo.co.nz">Koha@lists.katipo.co.nz</a><br>
<a href="http://lists.katipo.co.nz/mailman/listinfo/koha" target="_blank">http://lists.katipo.co.nz/mailman/listinfo/koha</a><br>
<br></blockquote></div><br></div>