From d063c3d4cde34c7a2f84b68eb8ad7d1e3e421b4b Mon Sep 17 00:00:00 2001
From: Reed Wade <reed@typist.geek.nz>
Date: Thu, 26 Jun 2014 16:38:58 -0400
Subject: [PATCH] Bug 8567: Set output directory for fines.pl in cron config
 created by the packages

Modified debian/koha-common.cron.daily adding instance output dir option to
the fines.pl entry as described in the ticket.

Requires patch from Bug 8566 which provides the __instancename__ feature for
koha-foreach.
---
 debian/koha-common.cron.daily | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/koha-common.cron.daily b/debian/koha-common.cron.daily
index 2f899b0..1f540cd 100644
--- a/debian/koha-common.cron.daily
+++ b/debian/koha-common.cron.daily
@@ -16,7 +16,7 @@
 # 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 /usr/share/koha/bin/cronjobs/fines.pl --out /var/log/koha/__instancename__
 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
-- 
1.9.1