Re: [Koha] Running batchrebuildItemsTables.pl

2017-02-07 Thread Magnus Enger
> út 7. 2. 2017 v 19:34 odesílatel Luis Moises Rojas 
> 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" 

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
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Running batchrebuildItemsTables.pl

2017-02-07 Thread Josef Moravec
Hello Luis,
for running cli script you need to set env variables PERL5LIB and
KOHA_CONF, did you set them?

Josef

út 7. 2. 2017 v 19:34 odesílatel Luis Moises Rojas 
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
>
> --
> *Luis Moisés Rojas P.*
> ___
> Koha mailing list  http://koha-community.org
> Koha@lists.katipo.co.nz
> https://lists.katipo.co.nz/mailman/listinfo/koha
>
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha


[Koha] Running batchrebuildItemsTables.pl

2017-02-07 Thread Luis Moises Rojas
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

-- 
*Luis Moisés Rojas P.*
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha