Bugzilla – Attachment 155173 Details for
Bug 28688
Automatically renew patron membership
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28688: Add renewal to crontab example
Bug-28688-Add-renewal-to-crontab-example.patch (text/plain), 1.38 KB, created by
Marcel de Rooy
on 2023-09-02 12:37:14 UTC
(
hide
)
Description:
Bug 28688: Add renewal to crontab example
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2023-09-02 12:37:14 UTC
Size:
1.38 KB
patch
obsolete
>From 27279e7ec59ecf94d17ef6e135411e345e96fd44 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Thu, 15 Jun 2023 06:39:00 +0000 >Subject: [PATCH] Bug 28688: Add renewal to crontab example >Content-Type: text/plain; charset=utf-8 > >Note: I did not add an example to the debian cron daily file, since >we have no commented lines there. And automatic renewal is no default >behavior. > >Test plan: >Read new lines in misc/cronjobs/crontab.example. Just comments. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > misc/cronjobs/crontab.example | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/misc/cronjobs/crontab.example b/misc/cronjobs/crontab.example >index 4f96436372..1f61b54187 100644 >--- a/misc/cronjobs/crontab.example >+++ b/misc/cronjobs/crontab.example >@@ -54,8 +54,10 @@ KOHA_CRON_PATH = /usr/share/koha/bin/cronjobs > 10 1 * * * __KOHA_USER__ $KOHA_CRON_PATH/advance_notices.pl -c > > # MEMBERSHIP_EXPIRY NOTICES >- > 15 1 * * * __KOHA_USER__ $KOHA_CRON_PATH/membership_expiry.pl -c >+# To allow automatic renewal for 'active' patrons and send expiry notices to inactive ones, do: >+# 15 1 * * * __KOHA_USER__ $KOHA_CRON_PATH/membership_expiry.pl -c -active -renew >+# 15 1 * * * __KOHA_USER__ $KOHA_CRON_PATH/membership_expiry.pl -c -inactive > > # SERIALS UPDATE > 18 1 * * * __KOHA_USER__ $KOHA_CRON_PATH/serialsUpdate.pl -c >-- >2.30.2
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 28688
:
152378
|
152379
|
152380
|
152381
|
155170
|
155171
|
155172
|
155173
|
155222
|
155223
|
155224
|
155225
|
156522
|
156523
|
156524
|
156525
|
156533
|
156534
|
156535
|
156536
|
156537
|
156540