Bugzilla – Attachment 23300 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: Run fines cronjob before overdues cronjob
Bug-11144-Run-fines-cronjob-before-overdues-cronjo.patch (text/plain), 2.16 KB, created by
Katrin Fischer
on 2013-12-04 15:01:00 UTC
(
hide
)
Description:
Bug 11144: Run fines cronjob before overdues cronjob
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2013-12-04 15:01:00 UTC
Size:
2.16 KB
patch
obsolete
>From f241a90fe205f3b49c37f252b13a7a2f6f9c1a7f Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <Katrin.Fischer.83@web.de> >Date: Wed, 4 Dec 2013 15:52:39 +0100 >Subject: [PATCH] Bug 11144: Run fines cronjob before overdues cronjob > >Fines in overdues can only be printed correctly, when they >have been already generated when the overdue_notices job >is been run. > >This patch just changes the sequence of both cronjobs putting >fines.pl before overdue_notices. > >Patch changes crontab.example and koha-common.cron.daily for >package installations. >--- > debian/koha-common.cron.daily | 2 +- > misc/cronjobs/crontab.example | 8 ++++---- > 2 files changed, 5 insertions(+), 5 deletions(-) > >diff --git a/debian/koha-common.cron.daily b/debian/koha-common.cron.daily >index e2c7a80..b0affe5 100644 >--- a/debian/koha-common.cron.daily >+++ b/debian/koha-common.cron.daily >@@ -15,8 +15,8 @@ > # You should have received a copy of the GNU General Public License > # along with this program. If not, see <http://www.gnu.org/licenses/>. > >-koha-foreach --enabled --email /usr/share/koha/bin/cronjobs/overdue_notices.pl -t > koha-foreach --enabled /usr/share/koha/bin/cronjobs/fines.pl >+koha-foreach --enabled --email /usr/share/koha/bin/cronjobs/overdue_notices.pl -t > koha-foreach --enabled --email /usr/share/koha/bin/cronjobs/advance_notices.pl -c > koha-foreach --enabled /usr/share/koha/bin/cronjobs/holds/cancel_expired_holds.pl >/dev/null 2>&1 > koha-foreach --enabled /usr/share/koha/bin/cronjobs/services_throttle.pl > /dev/null 2>&1 >diff --git a/misc/cronjobs/crontab.example b/misc/cronjobs/crontab.example >index 012747c..72dea48 100644 >--- a/misc/cronjobs/crontab.example >+++ b/misc/cronjobs/crontab.example >@@ -45,11 +45,11 @@ KOHA_CRON_PATH = /usr/share/koha/bin/cronjobs > # SCHEDULED JOBS: > # m h dom mon dow user command > >-# OVERDUE NOTICES >-0 1 * * * __KOHA_USER__ $KOHA_CRON_PATH/overdue_notices.pl -t >- > # FINES >-5 1 * * * __KOHA_USER__ $KOHA_CRON_PATH/fines.pl >+0 1 * * * __KOHA_USER__ $KOHA_CRON_PATH/fines.pl >+ >+# OVERDUE NOTICES >+5 1 * * * __KOHA_USER__ $KOHA_CRON_PATH/overdue_notices.pl -t > > # ADVANCE NOTICES > 10 1 * * * __KOHA_USER__ $KOHA_CRON_PATH/advance_notices.pl -c >-- >1.8.3.2
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