From df2be2133e5aa89ada68565082e31a97bcefdeae Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Wed, 21 Apr 2021 16:29:20 -0300 Subject: [PATCH] Bug 23207: (QA follow-up) Add to cron files Signed-off-by: Tomas Cohen Arazi --- debian/koha-common.cron.daily | 1 + misc/cronjobs/crontab.example | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/debian/koha-common.cron.daily b/debian/koha-common.cron.daily index 52bc613cdac..baf956fe4c3 100644 --- a/debian/koha-common.cron.daily +++ b/debian/koha-common.cron.daily @@ -16,6 +16,7 @@ # along with this program. If not, see . koha-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/automatic_renewals.pl -c +koha-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/automatic_checkin.pl koha-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/fines.pl koha-foreach --chdir --enabled --email /usr/share/koha/bin/cronjobs/overdue_notices.pl -t koha-foreach --chdir --enabled --email /usr/share/koha/bin/cronjobs/advance_notices.pl -c diff --git a/misc/cronjobs/crontab.example b/misc/cronjobs/crontab.example index ce86c47342f..9d16403993b 100644 --- a/misc/cronjobs/crontab.example +++ b/misc/cronjobs/crontab.example @@ -46,9 +46,9 @@ KOHA_CRON_PATH = /usr/share/koha/bin/cronjobs # m h dom mon dow user command -# AUTOMATIC RENEWAL + FINES + OVERDUE NOTICES -# Sequence is important - renew what can be renewed, charge fines for the rest, print fine amount into overdue notices -5 1 * * * __KOHA_USER__ $KOHA_CRON_PATH/automatic_renewals.pl -c; $KOHA_CRON_PATH/fines.pl; $KOHA_CRON_PATH/overdue_notices.pl -t +# AUTOMATIC RENEWAL + AUTOMATIC CHECK-IN + FINES + OVERDUE NOTICES +# Sequence is important - renew what can be renewed, check things in if set to, charge fines for the rest, print fine amount into overdue notices +5 1 * * * __KOHA_USER__ $KOHA_CRON_PATH/automatic_renewals.pl -c; $KOHA_CRON_PATH/automatic_checkin.pl ; $KOHA_CRON_PATH/fines.pl; $KOHA_CRON_PATH/overdue_notices.pl -t # ADVANCE NOTICES 10 1 * * * __KOHA_USER__ $KOHA_CRON_PATH/advance_notices.pl -c -- 2.31.1