From 5588d688fd37edc95c03832c2e86947ca6542c16 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 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 Signed-off-by: Lucas Gass Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi --- 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.39.5