[Koha-patches] [PATCH] Bug 16823 - Comment out koha-rebuild-zebra in koha-common.cron.d

Srdjan srdjan at catalyst.net.nz
Thu Jul 7 05:33:02 CEST 2016


From: Magnus Enger <magnus at libriotech.no>

Bug 16190 enabled the indexer daemon by default for package installations.
This means that it is no longer necessary to set up koha-rebuild-zebra as
a cron job. This patch comments it out, so that people who might run into
bug 16814 can easily activate the cronjob again after de-activating the
indexer daemon.

To test:
Just read the diff and check that it makes sense.

Signed-off-by: Srdjan <srdjan at catalyst.net.nz>
---
 debian/koha-common.cron.d | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/koha-common.cron.d b/debian/koha-common.cron.d
index 96ff1b2..149fc47 100644
--- a/debian/koha-common.cron.d
+++ b/debian/koha-common.cron.d
@@ -6,6 +6,7 @@
 SHELL=/bin/sh
 PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
 
-# Comment the following line if you want to use the experimental koha-index-daemon integration
-*/5 * * * * root test -x /usr/sbin/koha-rebuild-zebra && koha-rebuild-zebra -q $(koha-list --enabled)
+# Uncomment the following line if you do not want to use the koha-index-daemon integration
+# */5 * * * * root test -x /usr/sbin/koha-rebuild-zebra && koha-rebuild-zebra -q $(koha-list --enabled)
+
 */15 * * * * root koha-foreach --enabled --email /usr/share/koha/bin/cronjobs/process_message_queue.pl
-- 
2.7.4


More information about the Koha-patches mailing list