View | Details | Raw Unified | Return to bug 18631
Collapse All | Expand All

(-)a/misc/cronjobs/cleanup_database.pl (-5 / +4 lines)
Lines 80-87 Usage: $0 [-h|--help] [--confirm] [--sessions] [--sessdays DAYS] [-v|--verbose] Link Here
80
                      amountoutstanding is 0 or NULL.
80
                      amountoutstanding is 0 or NULL.
81
                      In the case of --fees, DAYS must be greater than
81
                      In the case of --fees, DAYS must be greater than
82
                      or equal to 1.
82
                      or equal to 1.
83
   --log_modules      Specify which action log modules to trim. Repeatable.
83
   --log-modules      Specify which action log modules to trim. Repeatable.
84
   --preserve_logs    Specify which action logs to exclude. Repeatable.
84
   --preserve-logs    Specify which action logs to exclude. Repeatable.
85
   --logs DAYS        purge entries from action_logs older than DAYS days.
85
   --logs DAYS        purge entries from action_logs older than DAYS days.
86
                      Defaults to 180 days if no days specified.
86
                      Defaults to 180 days if no days specified.
87
   --searchhistory DAYS  purge entries from search_history older than DAYS days.
87
   --searchhistory DAYS  purge entries from search_history older than DAYS days.
Lines 167-174 GetOptions( Link Here
167
    'import:i'          => \$pImport,
167
    'import:i'          => \$pImport,
168
    'z3950'             => \$pZ3950,
168
    'z3950'             => \$pZ3950,
169
    'logs:i'            => \$pLogs,
169
    'logs:i'            => \$pLogs,
170
    'log_module:s'      => \@log_modules,
170
    'log-module:s'      => \@log_modules,
171
    'preserve_log:s'    => \@preserve_logs,
171
    'preserve-log:s'    => \@preserve_logs,
172
    'messages:i'        => \$pMessages,
172
    'messages:i'        => \$pMessages,
173
    'fees:i'            => \$fees_days,
173
    'fees:i'            => \$fees_days,
174
    'searchhistory:i'   => \$pSearchhistory,
174
    'searchhistory:i'   => \$pSearchhistory,
175
- 

Return to bug 18631