Bugzilla – Attachment 104612 Details for
Bug 25429
`cleanup_database.pl` should remove resolved claims returned after X days
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25429: Fix typos, correct spacing, add missing periods for script help
Bug-25429-Fix-typos-correct-spacing-add-missing-pe.patch (text/plain), 6.67 KB, created by
Kyle M Hall (khall)
on 2020-05-08 18:09:29 UTC
(
hide
)
Description:
Bug 25429: Fix typos, correct spacing, add missing periods for script help
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2020-05-08 18:09:29 UTC
Size:
6.67 KB
patch
obsolete
>From 51a6a3f8f790093ec410e6914d44dfb442d89615 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Fri, 8 May 2020 14:07:49 -0400 >Subject: [PATCH] Bug 25429: Fix typos, correct spacing, add missing periods > for script help > >--- > misc/cronjobs/cleanup_database.pl | 87 +++++++++++++++++-------------- > 1 file changed, 49 insertions(+), 38 deletions(-) > >diff --git a/misc/cronjobs/cleanup_database.pl b/misc/cronjobs/cleanup_database.pl >index 57b9754ca1..ffd6ab14dc 100755 >--- a/misc/cronjobs/cleanup_database.pl >+++ b/misc/cronjobs/cleanup_database.pl >@@ -47,45 +47,56 @@ sub usage { > print STDERR <<USAGE; > Usage: $0 [-h|--help] [--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] [--deleted-catalog DAYS] [--deleted-patrons DAYS] [--old-issues DAYS] [--old-reserves DAYS] [--transfers DAYS] > >- -h --help prints this help message, and exits, ignoring all >- other options >- --sessions purge the sessions table. If you use this while users >- are logged into Koha, they will have to reconnect. >- --sessdays DAYS purge only sessions older than DAYS days. >- -v --verbose will cause the script to give you a bit more information >- about the run. >- --zebraqueue DAYS purge completed zebraqueue entries older than DAYS days. >- Defaults to 30 days if no days specified. >- -m --mail DAYS purge items from the mail queue that are older than DAYS days. >- Defaults to 30 days if no days specified. >- --merged purged completed entries from need_merge_authorities. >- --import DAYS purge records from import tables older than DAYS days. >- Defaults to 60 days if no days specified. >- --z3950 purge records from import tables that are the result >- of Z39.50 searches >- --fees DAYS purge entries accountlines older than DAYS days, where >- amountoutstanding is 0 or NULL. >- In the case of --fees, DAYS must be greater than >- or equal to 1. >- --logs DAYS purge entries from action_logs older than DAYS days. >- Defaults to 180 days if no days specified. >- --searchhistory DAYS purge entries from search_history older than DAYS days. >- Defaults to 30 days if no days specified >- --list-invites DAYS purge (unaccepted) list share invites older than DAYS >- days. Defaults to 14 days if no days specified. >- --restrictions DAYS purge patrons restrictions expired since more than DAYS days. >- Defaults to 30 days if no days specified. >- --all-restrictions purge all expired patrons restrictions. >- --return-claims DAYS Purge all resolved return claims older than DAYS >- --del-exp-selfreg Delete expired self registration accounts >- --del-unv-selfreg DAYS Delete unverified self registrations older than DAYS >- --unique-holidays DAYS Delete all unique holidays older than DAYS >- --temp-uploads Delete temporary uploads. >- --temp-uploads-days DAYS Override the corresponding preference value. >- --uploads-missing FLAG Delete upload records for missing files when FLAG is true, count them otherwise >- --oauth-tokens Delete expired OAuth2 tokens >+ -h --help Prints this help message, and exits, ignoring all other options. >+ >+ --sessions Purge the sessions table. If you use this while users >+ are logged into Koha, they will have to reconnect. >+ >+ --sessdays DAYS Purge only sessions older than DAYS days. >+ >+ -v --verbose Will cause the script to give you a bit more information >+ about the run. >+ >+ --zebraqueue DAYS Purge completed zebraqueue entries older than DAYS days. >+ Defaults to 30 days if no days specified. >+ >+ -m --mail DAYS Purge items from the mail queue that are older than DAYS days. >+ Defaults to 30 days if no days specified. >+ >+ --merged Purge completed entries from need_merge_authorities. >+ >+ --import DAYS Purge records from import tables older than DAYS days. >+ Defaults to 60 days if no days specified. >+ >+ --z3950 Purge records from import tables that are the result >+ of Z39.50 searches >+ >+ --fees DAYS Purge entries accountlines older than DAYS days, where amountoutstanding is 0 or NULL. >+ In the case of --fees, DAYS must be greater than or equal to 1. >+ >+ --logs DAYS Purge entries from action_logs older than DAYS days. >+ Defaults to 180 days if no days specified. >+ >+ --searchhistory DAYS Purge entries from search_history older than DAYS days. >+ Defaults to 30 days if no days specified >+ >+ --list-invites DAYS Purge (unaccepted) list share invites older than DAYS >+ days. Defaults to 14 days if no days specified. >+ >+ --restrictions DAYS Purge patrons restrictions expired since more than DAYS days. >+ Defaults to 30 days if no days specified. >+ >+ --all-restrictions Purge all expired patrons restrictions. >+ --return-claims DAYS Purge all resolved return claims older than DAYS. >+ --del-exp-selfreg Delete expired self registration accounts. >+ --del-unv-selfreg DAYS Delete unverified self registrations older than DAYS. >+ --unique-holidays DAYS Delete all unique holidays older than DAYS. >+ --temp-uploads Delete temporary uploads. >+ --temp-uploads-daysDAYS Override the corresponding preference value. >+ --uploads-missing FLAG Delete upload records for missing files when FLAG is true, count them otherwise. >+ --oauth-tokens Delete expired OAuth2 tokens. > --statistics DAYS Purge statistics entries more than DAYS days old. >- --deleted-catalog DAYS Purge catalog records deleted more then DAYS days ago >+ --deleted-catalog DAYS Purge catalog records deleted more then DAYS days ago. > (from tables deleteditems, deletedbiblioitems, deletedbiblio_metadata and deletedbiblio). > --deleted-patrons DAYS Purge patrons deleted more than DAYS days ago. > --old-issues DAYS Purge checkouts (old_issues) returned more than DAYS days ago. >-- >2.24.2 (Apple Git-127)
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 25429
:
104611
|
104612
|
104798
|
114601
|
114602
|
115042
|
115086
|
115087
|
115088
|
115089
|
115090
|
115907
|
115908
|
118880
|
118881
|
119219
|
120927
|
120928
|
120929
|
120930
|
125584
|
125585
|
125586
|
125587
|
125588