Bug 35479: (follow-up) Match formatting for other cronjob logs
authorNick Clemens <nick@bywatersolutions.com>
Tue, 5 Dec 2023 13:40:48 +0000 (13:40 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Wed, 31 Jan 2024 13:44:41 +0000 (14:44 +0100)
commitea30aaff625b1171ac30cb80c67f8eea69c08de3
tree7952289b1df164d52f6ba50a638a1da2d36a8803
parentc4b777b0560dd9936ae08e2fd530fd00f52df569
Bug 35479: (follow-up) Match formatting for other cronjob logs

To test:
1 - Install the Kitchen Sink plugin
2 - Restart all
3 - Enable 'CronjobLog' system preference
4 - perl misc/cronjobs/plugins_nightly.pl
5 - Note you see on the command line 'Remember to clean the kitchen' - this indicates the plugin cron ran
6 - Tools->log viewer, select 'cronjob' and view
7 - Note you only see 'plugins_nightly.pl' Run and End lines
8 - Apply patches
9 - perl misc/cronjobs/plugins_nightly.pl
10 - View logs agian
11 - Note you now see Run and End lines for 'Koha::Plugin::Com::ByWaterSolutions::KitchenSink'
12 - Confirm they look like the other lines
13 - Edit KitchenSink.pm and add 'die "Kittens";' to the cronjob nightly
14 - perl misc/cronjobs/plugins_nightly.pl
15 - View logs, confirm there is a FAILED error message for the KitchenSink cron

Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
misc/cronjobs/plugins_nightly.pl