1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-07 16:17:23 +01:00

run status checks each night and email the administrator with the changes from the previous day's results

This commit is contained in:
Joshua Tauberer
2015-03-08 21:56:28 +00:00
parent c18d58b13f
commit 4d22fb9b2a
3 changed files with 166 additions and 41 deletions

View File

@@ -324,7 +324,7 @@ def system_status():
def print_line(self, message, monospace=False):
self.items[-1]["extra"].append({ "text": message, "monospace": monospace })
output = WebOutput()
run_checks(env, output, pool)
run_checks(False, env, output, pool)
return json_response(output.items)
@app.route('/system/updates')