[Koha-patches] [PATCH] Bug 8567: Set output directory for fines.pl in cron config created by the packages

Reed Wade reed at typist.geek.nz
Thu Jun 26 22:55:15 CEST 2014


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



More information about the Koha-patches mailing list