[Koha-bugs] [Bug 31345] Add ability to exit process_message_queue.pl early if any plugin before_send_messages hook fails
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Feb 8 20:03:10 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31345
--- Comment #8 from Brendan Lawlor <blawlor at clamsnet.org> ---
Cool, that worked.
Also found I had the -e option in the wrong place in the command.
kohadev-koha at kohadevbox:cronjobs(master)$ perl process_message_queue.pl
die! $VAR1 = 'dead';
Died at
/kohadevbox/koha_plugin/dev-koha-plugin-kitchen-sink/Koha/Plugin/Com/ByWaterSolutions/KitchenSink.pm
line 211.
kohadev-koha at kohadevbox:cronjobs(master)$ echo $?
0
kohadev-koha at kohadevbox:cronjobs(master)$ perl -e process_message_queue.pl
kohadev-koha at kohadevbox:cronjobs(master)$ echo $?
0
kohadev-koha at kohadevbox:cronjobs(master)$ perl process_message_queue.pl -e
die! $VAR1 = 'dead';
Died at
/kohadevbox/koha_plugin/dev-koha-plugin-kitchen-sink/Koha/Plugin/Com/ByWaterSolutions/KitchenSink.pm
line 211.
kohadev-koha at kohadevbox:cronjobs(master)$ echo $?
1
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list