Module: check_mk
Branch: master
Commit: 35146d94a2e43d90d998090680ca1ad385f5b1a3
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=35146d94a2e43d…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Jan 18 15:21:28 2016 +0100
The web cron url is now writing OK when finished. Just to be sure it did not fail
silently.
---
web/htdocs/cron.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/web/htdocs/cron.py b/web/htdocs/cron.py
index 7812478..92c69a8 100644
--- a/web/htdocs/cron.py
+++ b/web/htdocs/cron.py
@@ -71,3 +71,5 @@ def page_run_cron():
import traceback
logger(LOG_ERR, "Exception in cron_job [%s]:\n%s" %
(cron_job.__name__, traceback.format_exc()))
+
+ html.write("OK\n")