[Koha-bugs] [Bug 32093] cleanup_database.pl bg-jobs parameter should be bg-days

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 15 17:57:19 CET 2022


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

--- Comment #1 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 143921
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=143921&action=edit
Bug 32093: Make help and code match for bg-days in cleanup_database.pl

There as a mismatch between the parameter name in documentation (bg-days)
and what was checked in the code (bg-jobs). This makes both match.

To test:
* Apply patch
* Make sure you have some background_jobs older than one day
* Verify the help of the script documents the parameter bg-days
* Run the cleanup_database.pl job
  Example:  ./misc/cronjobs/cleanup_database.pl --bg-days  --confirm -v
* Verify there are no errors and the lines have been deleted as expected

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


More information about the Koha-bugs mailing list