From 4869654296cf4d9d229407a853d48e34bb04d57c 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 Content-Type: text/plain; charset=utf-8 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. --- 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 f62ad53..cbd7eed 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 2db8467..cef4740 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 -- 1.7.10.4