Bugzilla – Attachment 54852 Details for
Bug 11144
Fix sequence of cronjobs: automatic renewal - fines - overdue notices
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11144 [QA Followup] - Let each script run in sequence even if one fails
Bug-11144-QA-Followup---Let-each-script-run-in-seq.patch (text/plain), 1.56 KB, created by
Marcel de Rooy
on 2016-08-25 11:53:14 UTC
(
hide
)
Description:
Bug 11144 [QA Followup] - Let each script run in sequence even if one fails
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2016-08-25 11:53:14 UTC
Size:
1.56 KB
patch
obsolete
>From 00a81a96b6057d0a76b3dc594c1dedca3a76ad59 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >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 <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). >--- > 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 11144
:
23300
|
40044
|
40853
|
44283
|
51348
|
52800
|
52812
|
54851
| 54852