From dcfd699b66712cf46c5394979f2c5fc23eb25f44 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Mon, 31 Oct 2016 14:44:51 +0100 Subject: [PATCH] [SIGNED-OFF] Bug 17520: Can we add serialsUpdate.pl to the list of regular cron jobs? This patch adds the job to debian package file and the examples file in misc. Test plan: Add these lines to your cron file. Check the results. (If an issue you expect passes the grace period defined in the subscription, its status should go from Expected to Late.) Signed-off-by: Josef Moravec --- debian/koha-common.cron.daily | 1 + misc/cronjobs/crontab.example | 3 +++ 2 files changed, 4 insertions(+) diff --git a/debian/koha-common.cron.daily b/debian/koha-common.cron.daily index b33036b..92bfa58 100644 --- a/debian/koha-common.cron.daily +++ b/debian/koha-common.cron.daily @@ -19,6 +19,7 @@ koha-foreach --enabled /usr/share/koha/bin/cronjobs/automatic_renewals.pl koha-foreach --enabled /usr/share/koha/bin/cronjobs/fines.pl koha-foreach --enabled --email /usr/share/koha/bin/cronjobs/overdue_notices.pl -t koha-foreach --enabled --email /usr/share/koha/bin/cronjobs/advance_notices.pl -c +koha-foreach --enabled /usr/share/koha/bin/cronjobs/serialsUpdate.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 diff --git a/misc/cronjobs/crontab.example b/misc/cronjobs/crontab.example index 1765f7e..17f7ef9 100644 --- a/misc/cronjobs/crontab.example +++ b/misc/cronjobs/crontab.example @@ -53,6 +53,9 @@ KOHA_CRON_PATH = /usr/share/koha/bin/cronjobs # ADVANCE NOTICES 10 1 * * * __KOHA_USER__ $KOHA_CRON_PATH/advance_notices.pl -c +# SERIALS UPDATE +13 1 * * * __KOHA_USER__ $KOHA_CRON_PATH/serialsUpdate.pl -c + # MEMBERSHIP_EXPIRY NOTICES 15 1 * * * __KOHA_USER__ $KOHA_CRON_PATH/membership_expiry.pl -c -- 2.1.4