[Koha] Running batchrebuildItemsTables.pl

Magnus Enger magnus at enger.priv.no
Wed Feb 8 20:32:46 NZDT 2017


> Ășt 7. 2. 2017 v 19:34 odesĂ­latel Luis Moises Rojas <lmoisesrojas at gmail.com>
> napsal:
>
>> How could i execute this file, cos when i try to run using
>> ./batchrebuildItemsTables.pl i got at lot of error:
>> Can not locate c4/context,pm in...
>> adn more
>>
>> if i run it with perl batchrebuildItemsTables.pl

If you installed using the Debian packages you can also use the
koha-shell command to set up the environment for you:

sudo koha-shell -c "perl batchrebuildItemsTables.pl" <your instance name>

or do "sudo koha-shell" to get an interactive shell yuo can run commands in.

See "man koha-shell" for more details.

Best regards,
Magnus Enger
Libriotech


More information about the Koha mailing list