[Koha-devel] Authorities / cron

Robin Sheat robin at catalyst.net.nz
Tue Oct 9 02:42:12 CEST 2012


Paul schreef op ma 08-10-2012 om 19:18 [-0400]:

> problems with functionality of recommended envars and had highcoughs
> for a 
> "user" cron if 'koha' appeared on the exec line:
> 
> * * * * * koha $KOHA_PATH/bin/migration_tools/rebuild_zebra.pl /
>            ^^^^
> -a -b -z -v >> /tmp/cron_koha.log
> 
This is because you don't specify a username in a user crontab (it
doesn't make sense), you only do this in the global ones. See 'man 5
crontab' for details.

> 1..................         {same? {what is this? not line wrap? Just
>  the 

It's because you have '-v' for verbose in the command line, and so it's
telling you its progress. You should only do that when you're running it
interactively, otherwise you'll get piles of emails.

I'd figure out what records are causing you problems. There are tools
around that do this.

This is one that could help:
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7286
Note that I've not used it.

There's another one that talks to zebra to find out what isn't there and
tells you about them, but I can't find it with a quick search.

-- 
Robin Sheat
Catalyst IT Ltd.
✆ +64 4 803 2204
GPG: 5957 6D23 8B16 EFAB FEF8  7175 14D3 6485 A99C EB6D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: </pipermail/koha-devel/attachments/20121009/0e0bc469/attachment.pgp>


More information about the Koha-devel mailing list