Bugzilla – Attachment 50298 Details for
Bug 16280
purge_suggestions.pl: Cron job log should tell number of days used
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16280: purge_suggestions.pl: Cron job log should tell number of days used
Bug-16280-purgesuggestionspl-Cron-job-log-should-t.patch (text/plain), 1.19 KB, created by
Marc Véron
on 2016-04-17 16:57:43 UTC
(
hide
)
Description:
Bug 16280: purge_suggestions.pl: Cron job log should tell number of days used
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2016-04-17 16:57:43 UTC
Size:
1.19 KB
patch
obsolete
>From c0ef11b1489b22d462d07527a5c2e3b5778e725c Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >Date: Sun, 17 Apr 2016 18:52:06 +0200 >Subject: [PATCH] Bug 16280: purge_suggestions.pl: Cron job log should tell > number of days used > >To test: >- Apply patch >- Set syspref CronjobLog to "Log" >- Set syspref PurgeSuggestionsOlderThan e.g. to 20 >- From console, run misc/cronjobs/purge_suggestions.pl >- Check entry in cgi-bin/koha/admin/preferences.pl?op=search&searchfield=log >- Verify that log entry contains number of days (20, same as in syspref) >- From console, run misc/cronjobs/purge_suggestions.pl -days 100 >- Verify that log entry contains number of days (100, same as in param -days) >--- > misc/cronjobs/purge_suggestions.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/misc/cronjobs/purge_suggestions.pl b/misc/cronjobs/purge_suggestions.pl >index cf4c48b..c022c8a 100755 >--- a/misc/cronjobs/purge_suggestions.pl >+++ b/misc/cronjobs/purge_suggestions.pl >@@ -68,7 +68,7 @@ if ($help) { > } > > if ( defined($days) && $days ne q{} && $days > 0 ) { >- cronlogaction(); >+ cronlogaction( " ( days: $days )"); > DelSuggestionsOlderThan($days); > } > >-- >1.7.10.4
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 16280
:
50298
|
80669
|
80739