[Koha-bugs] [Bug 10379] koha-rebuild-zebra gets noisy if no instances are defined

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jun 24 13:29:00 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10379

--- Comment #2 from Magnus Enger <magnus at enger.priv.no> ---
Created attachment 19205
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=19205&action=edit
Bug 10379 - [SIGNED-OFF] silence zebra rebuild cron when no instances are
enabled

This adds a -q option to koha-rebuild-zebra that prevents it outputting
help if no instances are provided on the command line. This means that
if you've just installed the package, you won't get messages from cron
telling you how to use the script.

Test plan:
* install koha-common 3.12 or master onto a system with no enabled
  instances.
* note that you or the sysadmin will start getting emails every 5
  minutes.
* replace /etc/cron.d/koha-common and /usr/sbin/koha-rebuild-zebra with
  the versions from this patch.
* note that the emails stop flowing.

Signed-off-by: Magnus Enger <magnus at enger.priv.no>
"sudo koha-rebuild-zebra -q" gives no output, as expected.
Followed the test plan, all looks good.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list