Bug 8567: Set output directory for fines.pl in cron config created by the packages
authorReed Wade <reed@typist.geek.nz>
Thu, 26 Jun 2014 20:38:58 +0000 (16:38 -0400)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 3 Jul 2014 13:43:28 +0000 (10:43 -0300)
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.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Robin Sheat <robin@catalyst.net.nz>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
debian/koha-common.cron.daily

index 2f899b0..1f540cd 100644 (file)
@@ -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