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.*
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 <lmoisesrojas@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
-- *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
út 7. 2. 2017 v 19:34 odesílatel Luis Moises Rojas <lmoisesrojas@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
participants (3)
-
Josef Moravec -
Luis Moises Rojas -
Magnus Enger