mirror of
https://gitlab.sectorq.eu/jaydee/mqtt_srv.git
synced 2025-12-14 18:44:53 +01:00
vars
This commit is contained in:
@@ -78,6 +78,7 @@ def writeLog(msg, svr="INFO"):
|
|||||||
def check_router():
|
def check_router():
|
||||||
stats["uptime"] = uptime()
|
stats["uptime"] = uptime()
|
||||||
stats["version"] = VERSION
|
stats["version"] = VERSION
|
||||||
|
stats["status"] = "on"
|
||||||
cmnd = "crontab -l"
|
cmnd = "crontab -l"
|
||||||
status, output = subprocess.getstatusoutput(cmnd)
|
status, output = subprocess.getstatusoutput(cmnd)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user