Bugzilla – Attachment 186326 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.78 KB, created by
Fridolin Somers
on 2025-09-10 13:34:27 UTC
(
hide
)
Description:
Bug 40785: Cronjob cleanup_database.pl remove args in usage first line
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2025-09-10 13:34:27 UTC
Size:
1.78 KB
patch
obsolete
>From d5f0b5321844a581d4d01637e1781cd15c30a6c5 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 >... >--- > 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 ba4a13cd836..048fa045b36 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.43.0
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