From 4fa33e055c127ab3bc9579640172cc55fd73b5d5 Mon Sep 17 00:00:00 2001 From: Amit Gupta Date: Thu, 17 Sep 2015 12:52:59 +0530 Subject: [PATCH] Bug 14840: Added new cron script send membership expiry reminder notices in crontab.example file Signed-off-by: Marcel de Rooy Amended: Added koha-common.cron.daily. Note that the cronjob only does something when the pref is set now. See corresponding change on bug 6810. Signed-off-by: Tomas Cohen Arazi --- debian/koha-common.cron.daily | 1 + misc/cronjobs/crontab.example | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/debian/koha-common.cron.daily b/debian/koha-common.cron.daily index f62ad53e01..cbd7eed50e 100644 --- a/debian/koha-common.cron.daily +++ b/debian/koha-common.cron.daily @@ -18,6 +18,7 @@ koha-foreach --enabled --email /usr/share/koha/bin/cronjobs/overdue_notices.pl -t koha-foreach --enabled /usr/share/koha/bin/cronjobs/fines.pl koha-foreach --enabled --email /usr/share/koha/bin/cronjobs/advance_notices.pl -c +koha-foreach --enabled /usr/share/koha/bin/cronjobs/membership_expiry.pl -c koha-foreach --enabled /usr/share/koha/bin/cronjobs/holds/cancel_expired_holds.pl >/dev/null 2>&1 koha-foreach --enabled /usr/share/koha/bin/cronjobs/services_throttle.pl > /dev/null 2>&1 koha-foreach --enabled /usr/share/koha/bin/cronjobs/cleanup_database.pl --sessions --zebraqueue 10 --list-invites diff --git a/misc/cronjobs/crontab.example b/misc/cronjobs/crontab.example index 2db84677fd..cef4740ef4 100644 --- a/misc/cronjobs/crontab.example +++ b/misc/cronjobs/crontab.example @@ -54,6 +54,10 @@ KOHA_CRON_PATH = /usr/share/koha/bin/cronjobs # ADVANCE NOTICES 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 + # PROCESS LONG OVERDUES # updates item status from available to longoverdue for items long overdue # 19 1 * * * __KOHA_USER__ $KOHA_CRON_PATH/longoverdue.pl --lost 90=1 --confirm -- 2.39.5