mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 17:24:32 +02:00
multiple param validation fixes
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
+5
-1
@@ -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": "",
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user