https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32093 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david@davidnind.com --- Comment #4 from David Nind <david@davidnind.com> --- Testing notes (using KTD): 1. To create some background jobs that could be purged (I'm sure there are quicker ways), I: - Enabled Elasticsearch (SearchEngine) - Reindexed (koha-elasticsearch --rebuild -d -b -a kohadev) - Edited some records (changed titles) - Updated the dates in the database for background jobs so that they are more than 1 day old (wasn't sure what date is used to trigger pruging): . select * from background_jobs; . update background_jobs set enqueued_on = "2022-11-13 20:09:00"; . update background_jobs set started_on = "2022-11-13 20:09:00"; . update background_jobs set ended_on = "2022-11-13 20:10:00"; - Edited a few more records (changed title) 2. Ran the cleanup_database.pl job. 3. Checked that the older background jobs were deleted in the database and UI. -- You are receiving this mail because: You are watching all bug changes.