Bug 14840: Added new cron script send membership expiry reminder notices in crontab...
authorAmit Gupta <amit.gupta@informaticsglobal.com>
Thu, 17 Sep 2015 07:22:59 +0000 (12:52 +0530)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 6 Oct 2015 14:21:18 +0000 (11:21 -0300)
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
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 <tomascohen@theke.io>
debian/koha-common.cron.daily
misc/cronjobs/crontab.example

index f62ad53..cbd7eed 100644 (file)
@@ -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
index 2db8467..cef4740 100644 (file)
@@ -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