X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=misc%2Fcronjobs%2Fimport_webservice_batch.pl;h=5925be2ea69b8f1322dc696f1b4c8898f9073cb5;hb=9d6d641d1f8b77271800f43bc027b651f9aea52b;hp=aa18edce5178589b1d16c863ed62325ccd570f7b;hpb=af7e41d1142573666d302a8475274ea58e5c99f4;p=srvgit diff --git a/misc/cronjobs/import_webservice_batch.pl b/misc/cronjobs/import_webservice_batch.pl index aa18edce51..5925be2ea6 100755 --- a/misc/cronjobs/import_webservice_batch.pl +++ b/misc/cronjobs/import_webservice_batch.pl @@ -25,14 +25,13 @@ BEGIN { # find Koha's Perl modules # test carefully before changing this - use FindBin; + use FindBin (); eval { require "$FindBin::Bin/../kohalib.pl" }; } -use Getopt::Long; -use Pod::Usage; +use Getopt::Long qw( GetOptions ); use Koha::Script -cron; -use C4::ImportBatch; +use C4::ImportBatch qw( BatchCommitRecords ); my ($help, $framework);