[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
Thu May 30 06:16:09 CEST 2013


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

--- Comment #1 from Robin Sheat <robin at catalyst.net.nz> ---
Created attachment 18489
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=18489&action=edit
Bug 10379 - 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.

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


More information about the Koha-bugs mailing list