[Koha-bugs] [Bug 29238] New: Cataloging cron jobs are not logged
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Oct 13 23:50:25 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29238
Bug ID: 29238
Summary: Cataloging cron jobs are not logged
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Command-line Utilities
Assignee: koha-bugs at lists.koha-community.org
Reporter: ephetteplace at cca.edu
QA Contact: testopia at bugs.koha-community.org
CC: robin at catalyst.net.nz
After a few cron jobs related to authority records
(misc/migration_tools/remove_unused_authorities.pl,
misc/link_bibs_to_authorities.pl) were set up to run on our instance, I went to
check the Log Viewer tool but couldn't tell that they were configured. I was
told that only newer cron jobs actually appear in the logs, and on inspecting
those two I saw that they lacked the call to `cronlogaction()` which our
circulation-related cronjobs have. It'd be helpful to know if/when these jobs
ran.
I realize this is a bit debatable because those two scripts don't reside in
misc/cronjobs and right now the only scripts that call `cronlogaction()` are in
that directory. Is it appropriate to add that logging to these scripts? We do
run them on a schedule, it's important to our authority records workflow. This
is the complete list of ones I'd like to add logging to:
- misc/link_bibs_to_authorities.pl
- misc/cronjobs/merge_authorities.pl
- misc/migration_tools/remove_unused_authorities.pl
A side note: there are several scripts in misc/cronjobs, like
merge_authorities.pl, that are not logged and probably should be, but that is a
larger bug and I'd like to focus on these first since they're relevant to us.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list