multiple param validation fixes

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2024-11-14 12:37:38 -05:00
parent f36c4d8a2b
commit bdd885eab4
13 changed files with 74 additions and 54 deletions
+5 -1
View File
@@ -1,5 +1,9 @@
#!/usr/bin/env python
"""
check progress of last job and shutdown system if timeout reached
"""
import os
import time
import datetime
@@ -16,7 +20,7 @@ opts = Dot({
"timeout": 3600,
"frequency": 60,
"action": "sudo shutdown now",
"url": "https://127.0.0.1:7860",
"url": "http://127.0.0.1:7860",
"user": "",
"password": "",
})