[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 09:59:19 CET 2022


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

--- Comment #20 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 144189
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=144189&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