Bugzilla – Attachment 98501 Details for
Bug 24526
Add verbose and test modes to the `automatic_renewals.pl` cronjob
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24526: Set verbose if confirm not set
Bug-24526-Set-verbose-if-confirm-not-set.patch (text/plain), 853 bytes, created by
Jonathan Druart
on 2020-02-05 15:06:00 UTC
(
hide
)
Description:
Bug 24526: Set verbose if confirm not set
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-02-05 15:06:00 UTC
Size:
853 bytes
patch
obsolete
>From b82f8aa97465c6b2ffa094d9f42e5c44d58e5d51 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 5 Feb 2020 16:05:19 +0100 >Subject: [PATCH] Bug 24526: Set verbose if confirm not set > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > misc/cronjobs/automatic_renewals.pl | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/misc/cronjobs/automatic_renewals.pl b/misc/cronjobs/automatic_renewals.pl >index b612eef0c7..599576994e 100755 >--- a/misc/cronjobs/automatic_renewals.pl >+++ b/misc/cronjobs/automatic_renewals.pl >@@ -83,6 +83,7 @@ cronlogaction(); > my $auto_renews = Koha::Checkouts->search({ auto_renew => 1 }); > > my %report; >+$verbose = 1 unless $verbose or $confirm; > print "Test run only\n" unless $confirm; > while ( my $auto_renew = $auto_renews->next ) { > >-- >2.11.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 24526
:
98037
|
98059
|
98081
|
98082
|
98083
|
98497
|
98498
|
98499
|
98500
| 98501 |
98520