From 30a0df493dc35e3aa9186f3b3c4c212d3b396a65 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Fri, 24 Jun 2016 15:18:04 +0000 Subject: [PATCH] Bug 11144 [QA Followup] - Let each script run in sequence even if one fails Signed-off-by: Marcel de Rooy Tested the A;B;C variant here. If A fails, B will run. Since we can safely assume that A (or B) will not fail on a daily basis, this seems to be better than running them in the wrong order every day. As the comments on Bugzilla show, several people support this improved (reordered) scheme and look forward to improved error handling on another report (obviously not that simple). Signed-off-by: Kyle M Hall --- misc/cronjobs/crontab.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/cronjobs/crontab.example b/misc/cronjobs/crontab.example index 66d075cf00..1765f7e314 100644 --- a/misc/cronjobs/crontab.example +++ b/misc/cronjobs/crontab.example @@ -48,7 +48,7 @@ KOHA_CRON_PATH = /usr/share/koha/bin/cronjobs # 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 && $KOHA_CRON_PATH/fines.pl && $KOHA_CRON_PATH/overdue_notices.pl -t +5 1 * * * __KOHA_USER__ $KOHA_CRON_PATH/automatic_renewals.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