Bugzilla – Attachment 117982 Details for
Bug 23260
Anonymize (remove) patron data from items_last_borrower
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23260: (follow-up) Add new cron job
Bug-23260-follow-up-Add-new-cron-job.patch (text/plain), 1.71 KB, created by
Nick Clemens (kidclamp)
on 2021-03-09 14:42:51 UTC
(
hide
)
Description:
Bug 23260: (follow-up) Add new cron job
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2021-03-09 14:42:51 UTC
Size:
1.71 KB
patch
obsolete
>From 7c628239c4ac8524df7838d98afbb172f970a839 Mon Sep 17 00:00:00 2001 >From: Agustin Moyano <agustinmoyano@theke.io> >Date: Fri, 30 Oct 2020 13:16:40 -0300 >Subject: [PATCH] Bug 23260: (follow-up) Add new cron job > >--- > debian/koha-common.cron.daily | 1 + > misc/cronjobs/anonymise_last_borrowers.pl | 4 ++-- > 2 files changed, 3 insertions(+), 2 deletions(-) > >diff --git a/debian/koha-common.cron.daily b/debian/koha-common.cron.daily >index 52bc613cda..11f854c5b3 100644 >--- a/debian/koha-common.cron.daily >+++ b/debian/koha-common.cron.daily >@@ -27,4 +27,5 @@ koha-foreach --chdir --enabled --noemail /usr/share/koha/bin/cronjobs/cleanup_da > koha-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/holds/auto_unsuspend_holds.pl > /dev/null 2>&1 > koha-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/merge_authorities.pl -b > koha-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/plugins_nightly.pl >+koha-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/anonymise_last_borrowers.pl > koha-run-backups --days 2 --output /var/spool/koha >diff --git a/misc/cronjobs/anonymise_last_borrowers.pl b/misc/cronjobs/anonymise_last_borrowers.pl >index a2dd57da43..7f73794196 100755 >--- a/misc/cronjobs/anonymise_last_borrowers.pl >+++ b/misc/cronjobs/anonymise_last_borrowers.pl >@@ -39,7 +39,7 @@ use C4::Log; > > sub usage { > print STDERR <<USAGE; >-Usage: $0 --days DAYS [-h|--help] >+Usage: $0 [-h|--help] > -v --verbose gives a little more information > -h --help prints this help message, and exits, ignoring all > other options >@@ -48,7 +48,7 @@ USAGE > exit $_[0]; > } > >-my ( $help, $days, $verbose ); >+my ( $help, $verbose ); > > GetOptions( > 'h|help' => \$help, >-- >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 23260
:
92863
|
92864
|
93052
|
94858
|
94859
|
95033
|
95457
|
95458
|
95459
|
95460
|
95651
|
95698
|
95699
|
95700
|
95701
|
95769
|
95770
|
95771
|
95772
|
96791
|
97841
|
97842
|
98044
|
98053
|
98054
|
98064
|
98282
|
98349
|
98352
|
112734
|
112735
|
112736
|
112737
|
112738
|
112739
|
112740
|
112741
|
112742
|
112743
|
117974
|
117975
|
117976
|
117977
|
117978
|
117979
|
117980
|
117981
|
117982
|
117983
|
120522
|
120523
|
120524
|
120525
|
120526
|
120527
|
120528
|
120529
|
120530
|
120531
|
122963
|
122964
|
122965
|
122966
|
122967
|
122968
|
122969
|
122970
|
122971
|
122972
|
145175
|
145176
|
145177
|
145178
|
145179
|
145180
|
145181
|
145182
|
145183
|
145184
|
157106
|
157107
|
157108
|
157109
|
157110
|
157111
|
157112
|
157113
|
157114
|
157115
|
157116
|
159291
|
159292
|
159293
|
159294
|
159298
|
159299
|
159300
|
159301
|
164129
|
164130
|
164131
|
164132
|
164133