[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 Oct 26 14:40:23 CEST 2022


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

--- Comment #8 from Björn Nylén <bjorn.nylen at ub.lu.se> ---
(In reply to Frédéric Demians from comment #6)
> Thanks Björn for your patch. Have you considered putting the code of your
> PurgeBackgroundJobs function into Koha::BackgroundJobs as a class method?
> This
> could be used from elsewhere, the WUI for example, and from
> cleanup_database.pl
> like that:
> 
> Koha::BackgroundJobs::purge(10, 'all', 1);

Might be an idea. Easy to do but writing  the needed tests is a bit of a pain (
for me at least :) ).

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


More information about the Koha-bugs mailing list