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

--- Comment #2 from Magnus Enger <[email protected]> ---
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 <[email protected]>
"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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to