From 27279e7ec59ecf94d17ef6e135411e345e96fd44 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy 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 --- 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