From 00a81a96b6057d0a76b3dc594c1dedca3a76ad59 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 Content-Type: text/plain; charset=utf-8 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). --- 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 66d075c..1765f7e 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 -- 1.7.10.4