From e550f657f1fb9defef4b59668bfbe2cfdc44218c Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Thu, 3 Mar 2022 15:07:32 +0000 Subject: [PATCH] Bug 19532: (QA follow-up) Add the cron jobs to the cron files Signed-off-by: Marcel de Rooy Signed-off-by: Fridolin Somers --- debian/koha-common.cron.daily | 2 ++ misc/cronjobs/crontab.example | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/debian/koha-common.cron.daily b/debian/koha-common.cron.daily index c24f9c6043..0d960ef0c5 100644 --- a/debian/koha-common.cron.daily +++ b/debian/koha-common.cron.daily @@ -17,6 +17,8 @@ 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/recalls/expire_recalls.pl +koha-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/recalls/overdue_recalls.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 9bcb01700a..4f96436372 100644 --- a/misc/cronjobs/crontab.example +++ b/misc/cronjobs/crontab.example @@ -45,10 +45,10 @@ KOHA_CRON_PATH = /usr/share/koha/bin/cronjobs # SCHEDULED JOBS: # m h dom mon dow user command - -# AUTOMATIC RENEWAL + AUTOMATIC CHECK-IN + FINES + OVERDUE NOTICES +# RECALLS + 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 +# Handle expired recalls and overdue recalls before fines.pl runs +5 1 * * * __KOHA_USER__ $KOHA_CRON_PATH/recalls/expire_recalls.pl; $KOHA_CRON_PATH/recalls/overdue_recalls.pl; $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.39.5