Bug 22600: Set 'commandline' interface appropriately
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 28 Mar 2019 14:32:05 +0000 (14:32 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 10 Apr 2019 19:43:11 +0000 (19:43 +0000)
commitd2e189ca1c4f11d12435008053336563af2dd911
treecbb52005253932742c6a763179e2f7c246832334
parent125de75517b64a95b93dead4b1fa5c2326f007eb
Bug 22600: Set 'commandline' interface appropriately

This patch change Koha::Cron to be a more generic Koha::Script class and
update all commanline driven scripts to use it.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
99 files changed:
Koha/Script.pm [moved from Koha/Cron.pm with 52% similarity]
misc/admin/koha-preferences
misc/batchCompareMARCvsFrameworks.pl
misc/batchDeleteUnusedSubfields.pl
misc/batchImportMARCWithBiblionumbers.pl
misc/batchRebuildBiblioTables.pl
misc/batchRebuildItemsTables.pl
misc/batchRepairMissingBiblionumbers.pl
misc/batchdeletebiblios.pl
misc/check_sysprefs.pl
misc/commit_file.pl
misc/cronjobs/advance_notices.pl
misc/cronjobs/automatic_item_modification_by_age.pl
misc/cronjobs/automatic_renewals.pl
misc/cronjobs/batch_anonymise.pl
misc/cronjobs/build_browser_and_cloud.pl
misc/cronjobs/cart_to_shelf.pl
misc/cronjobs/check-url-quick.pl
misc/cronjobs/check-url.pl
misc/cronjobs/cleanup_database.pl
misc/cronjobs/cloud-kw.pl
misc/cronjobs/create_koc_db.pl
misc/cronjobs/delete_expired_opac_registrations.pl
misc/cronjobs/delete_items.pl
misc/cronjobs/delete_patrons.pl
misc/cronjobs/delete_records_via_leader.pl
misc/cronjobs/edi_cron.pl
misc/cronjobs/fines.pl
misc/cronjobs/gather_print_notices.pl
misc/cronjobs/holds/auto_unsuspend_holds.pl
misc/cronjobs/holds/build_holds_queue.pl
misc/cronjobs/holds/cancel_expired_holds.pl
misc/cronjobs/holds/cancel_unfilled_holds.pl
misc/cronjobs/import_webservice_batch.pl
misc/cronjobs/j2a.pl
misc/cronjobs/longoverdue.pl
misc/cronjobs/membership_expiry.pl
misc/cronjobs/merge_authorities.pl
misc/cronjobs/notice_unprocessed_suggestions.pl
misc/cronjobs/overdue_notices.pl
misc/cronjobs/process_message_queue.pl
misc/cronjobs/purge_suggestions.pl
misc/cronjobs/reconcile_balances.pl
misc/cronjobs/remove_temporary_edifiles.pl
misc/cronjobs/rss/rss.pl
misc/cronjobs/runreport.pl
misc/cronjobs/serialsUpdate.pl
misc/cronjobs/share_usage_with_koha_community.pl
misc/cronjobs/sitemap.pl
misc/cronjobs/social_data/get_report_social_data.pl
misc/cronjobs/social_data/update_social_data.pl
misc/cronjobs/staticfines.pl
misc/cronjobs/stockrotation.pl
misc/cronjobs/thirdparty/TalkingTech_itiva_inbound.pl
misc/cronjobs/thirdparty/TalkingTech_itiva_outbound.pl
misc/cronjobs/update_totalissues.pl
misc/devel/create_superlibrarian.pl
misc/devel/populate_db.pl
misc/export_borrowers.pl
misc/export_records.pl
misc/exportauth.pl
misc/import_patrons.pl
misc/link_bibs_to_authorities.pl
misc/maintenance/UNIMARC_fix_collectiontitle.pl
misc/maintenance/UNIMARC_sync_date_created_with_marc_biblio.pl
misc/maintenance/auth_show_hidden_data.pl
misc/maintenance/borrowers-force-messaging-defaults.pl
misc/maintenance/cmp_sysprefs.pl
misc/maintenance/fix_accountlines_date.pl
misc/maintenance/fix_accountlines_rmdupfines_bug8253.pl
misc/maintenance/fix_mysql_constraints.pl
misc/maintenance/fix_tags_weight.pl
misc/maintenance/make_zebra_dom_cfg_from_record_abs
misc/maintenance/process_record_through_filter.pl
misc/maintenance/remove_items_from_biblioitems.pl
misc/maintenance/sanitize_records.pl
misc/maintenance/search_for_data_inconsistencies.pl
misc/maintenance/touch_all_biblios.pl
misc/maintenance/touch_all_items.pl
misc/maintenance/update_authorities.pl
misc/migration_tools/buildCOUNTRY.pl
misc/migration_tools/buildEDITORS.pl
misc/migration_tools/buildLANG.pl
misc/migration_tools/build_oai_sets.pl
misc/migration_tools/bulkmarcimport.pl
misc/migration_tools/checkNonIndexedBiblios.pl
misc/migration_tools/create_analytical_rel.pl
misc/migration_tools/fix_onloan.pl
misc/migration_tools/import_lexile.pl
misc/migration_tools/rebuild_zebra.pl
misc/migration_tools/remove_unused_authorities.pl
misc/migration_tools/switch_marc21_series_info.pl
misc/migration_tools/upgradeitems.pl
misc/mod_zebraqueue.pl
misc/recreateIssueStatistics.pl
misc/search_tools/rebuild_elastic_search.pl
misc/stage_file.pl
t/Koha/Script.t [new file with mode: 0644]
t/Koha/Script_cron.t [moved from t/Koha/Cron.t with 88% similarity]