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