[Koha-bugs] [Bug 35479] plugins nightly cronjob should log the plugins that are being run

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Dec 4 18:50:17 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35479

--- Comment #1 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 159560
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=159560&action=edit
Bug 35479: Log start, end, and any failures for each plugin's nightly cronjob

When running the plugins_nightly.pl cronjob, we should record the plugins that
have a nightly method, logging the start and end of each plugins routine

Test Plan:
1) Enable CronjobLog
2) Install a plugin with a nightly cronjob ( e.g.
   https://github.com/bywatersolutions/koha-plugin-book-list-printer )
3) Run plugins_nightly.pl
4) Note new entries in the cronjob viewer for the start and end of the
   plugin's nightly cronjob run
5) Edit the plugin, add a line like "die 'this is a test';" to the
   plugin's nightly cronjob
6) Run plugins_nightly.pl
7) View the action logs, not the log for the error you added!

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list