Bugzilla – Attachment 187564 Details for
Bug 40785
Cronjob cleanup_database.pl usage is outdated
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40785: Cronjob cleanup_database.pl remove args in usage first line
Bug-40785-Cronjob-cleanupdatabasepl-remove-args-in.patch (text/plain), 1.87 KB, created by
Thomas Klausner
on 2025-10-08 12:23:07 UTC
(
hide
)
Description:
Bug 40785: Cronjob cleanup_database.pl remove args in usage first line
Filename:
MIME Type:
Creator:
Thomas Klausner
Created:
2025-10-08 12:23:07 UTC
Size:
1.87 KB
patch
obsolete
>From 5c020ccfbf467e8ecc8f2a6d7eb74573306b1495 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Wed, 10 Sep 2025 15:28:56 +0200 >Subject: [PATCH] Bug 40785: Cronjob cleanup_database.pl remove args in usage > first line > >Cronjob cleanup_database.pl usage is wrong : >Usage: $0 [-h|--help] [--confirm] (...) [--bg-days DAYS [--bg-type TYPE] ] >Those args has been renamed jobs-days and jobs-type. >Also some args are missing. > >There are too many args, I propose to remove them from there, one need to read the full help. > >Test plan: >Run command line `misc/cronjobs/cleanup_database.pl -h` >You see first line: >Usage: misc/cronjobs/cleanup_database.pl > > -h --help prints this help message, and exits, ignoring all >... > >Signed-off-by: Anke Bruns <anke.bruns@gwdg.de> >Signed-off-by: Thomas Klausner <domm@plix.at> >--- > misc/cronjobs/cleanup_database.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/misc/cronjobs/cleanup_database.pl b/misc/cronjobs/cleanup_database.pl >index 210df8751f..771846adfc 100755 >--- a/misc/cronjobs/cleanup_database.pl >+++ b/misc/cronjobs/cleanup_database.pl >@@ -59,7 +59,7 @@ use Koha::UploadedFiles; > > sub usage { > print STDERR <<USAGE; >-Usage: $0 [-h|--help] [--confirm] [--sessions] [--sessdays DAYS] [-v|--verbose] [--zebraqueue DAYS] [-m|--mail] [--merged] [--import DAYS] [--logs DAYS] [--searchhistory DAYS] [--restrictions DAYS] [--all-restrictions] [--fees DAYS] [--temp-uploads] [--temp-uploads-days DAYS] [--uploads-missing 0|1 ] [--statistics DAYS] [--statistics-type TYPE] [--deleted-catalog DAYS] [--deleted-patrons DAYS] [--old-issues DAYS] [--old-reserves DAYS] [--transfers DAYS] [--labels DAYS] [--cards DAYS] [--bg-days DAYS [--bg-type TYPE] ] [--edifact-messages DAYS] >+Usage: $0 > > -h --help prints this help message, and exits, ignoring all > other options >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 40785
:
186326
|
187562
| 187564