[Koha-bugs] [Bug 31969] Options for cleanup_database.pl to remove finished jobs from the background job queue
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Nov 23 10:08:16 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31969
Jonathan Druart <jonathan.druart+koha at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #144189|0 |1
is obsolete| |
--- Comment #21 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 144190
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=144190&action=edit
Bug 31969: Use filter_by_last_update
This script has a pattern to delete rows depending on a given
date/number of days, we should use the filter_by_last_update
Koha::Objects method.
No need for another method and tests, everything is already tested
there.
This patch also suggests to rename the reference to "background" and
"bg" with "jobs", which seems more appropriate and not an abbreviation
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list