[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 08:20:54 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31969
--- Comment #6 from Frédéric Demians <frederic at tamil.fr> ---
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);
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list