Koha/misc/cronjobs
Kyle M Hall 83f9535fab
Bug 31345: Add ability to exit process_message_queue.pl early if any plugin before_send_messages hook fails
Sometimes it would be better for process_message_queue.pl to stop if a plugin hook fails rather than continue processing. It would be nice if that was a command line option.

Test Plan:
1) Install any plugin with a before_send_messages hook
2) Modify the plugin, add a 'die;' statement at the start of the
   before_send_messages method of the plugin.
3) Run process_message_queue.pl as usual
4) Note the exit code is 0
5) Run it again with the new -e setting
6) Note the exit code is 1

Signed-off-by: Brendan Lawlor <blawlor@clamsnet.org>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-04-29 18:53:14 +02:00
..
holds
recalls
rss
social_data
thirdparty Bug 34854: (follow-up) Param name change + POD 2024-01-17 11:39:05 +01:00
advance_notices.pl
archive_purchase_suggestions.pl
automatic_checkin.pl
automatic_item_modification_by_age.pl
automatic_renewals.pl Bug 23296: Set patron branchcode when preparing non-digest version 2024-04-05 11:51:12 +02:00
backup.sh
batch_anonymise.pl
build_browser_and_cloud.pl
cart_to_shelf.pl
check-url-quick.pl
cleanup_database.pl Bug 26831: (follow-up) Tidy cleanup_database.pl 2024-01-17 11:39:03 +01:00
cloud-kw.pl
cloud-sample.conf
CONFIGURE.gmail
create_koc_db.pl
crontab.example
debar_patrons_with_fines.pl Bug 15157: (QA follow-up) Some more changes 2023-11-08 11:41:30 -03:00
delete_items.pl
delete_patrons.pl Bug 15504: (QA follow-up) Final changes 2023-10-24 10:05:23 -03:00
delete_records_via_leader.pl
edi_cron.pl
erm_run_harvester.pl Bug 34587: (QA follow-up) Tidy 2023-10-31 16:46:32 -03:00
fines.pl
gather_print_notices.pl Bug 35373: Remove false FIXME comment from gather_print_notices.pl 2024-01-26 15:14:07 +01:00
import_webservice_batch.pl
longoverdue.pl
membership_expiry.pl Bug 35001: Add some checks to membership_expiry 2023-10-24 15:44:32 -03:00
merge_authorities.pl
notice_unprocessed_suggestions.pl
overdue_notices.pl
patron_emailer.pl
plugins_nightly.pl Bug 35479: (QA follow-up): Tidy 2024-01-31 14:44:41 +01:00
printoverdues.sh
process_message_queue.pl Bug 31345: Add ability to exit process_message_queue.pl early if any plugin before_send_messages hook fails 2024-04-29 18:53:14 +02:00
purge_suggestions.pl
reconcile_balances.pl
remove_temporary_edifiles.pl
runreport.pl Bug 33050: Tidy 2023-11-08 11:41:14 -03:00
serialsUpdate.pl
share_usage_with_koha_community.pl
sitemap.pl
staticfines.pl
stockrotation.pl
update_patrons_category.pl
update_totalissues.pl
writeoff_debts.pl Bug 35996: Make it clear that --category-code can not be used alone 2024-04-29 09:35:37 +02:00