[omd-commits] OMD Git: omd: Do cmk cronjob only if cmk is active

git version control git at mathias-kettner.de
Fri May 22 09:55:34 CEST 2015


Module:   omd
Branch:   master
Commit:   ebfee47bf2139142aa99d1791a0c1ec049662f2d
URL:      http://omdistro.org/projects/omd/repository/revisions/ebfee47bf2139142aa99d1791a0c1ec049662f2d

Author:   Mathias Kettner <mk at mathias-kettner.de>
Date:     Fri May 22 09:55:32 2015 +0200
Commiter: Mathias Kettner <mk at mathias-kettner.de>
Date:     Fri May 22 09:55:32 2015 +0200

Do cmk cronjob only if cmk is active

---

 packages/check_mk/skel/etc/cron.d/cmk_bulk_notify |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/check_mk/skel/etc/cron.d/cmk_bulk_notify b/packages/check_mk/skel/etc/cron.d/cmk_bulk_notify
index 1a937a5..8877bca 100644
--- a/packages/check_mk/skel/etc/cron.d/cmk_bulk_notify
+++ b/packages/check_mk/skel/etc/cron.d/cmk_bulk_notify
@@ -1,3 +1,3 @@
 # Needed for bulk notifcations.
 # Only execute cmk --notify when the microcore is currently not enabled.
-* * * * * [ ! -e ###ROOT###/etc/check_mk/conf.d/microcore.mk ] && cmk --notify send-bulks
+* * * * * [ ! -e ###ROOT###/etc/check_mk/conf.d/microcore.mk -a -d ###ROOT###/var/check_mk/notify/bulk ] && cmk --notify send-bulks



More information about the omd-commits mailing list