Bug 11144 [QA Followup] - Let each script run in sequence even if one fails
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
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 <kyle@bywatersolutions.com>
(cherry picked from commit 30a0df493d)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
This commit is contained in:
parent
110dded2d1
commit
980650583d
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue