mirror of
https://gitlab.sectorq.eu/jaydee/omv_backup.git
synced 2025-07-01 23:58:33 +02:00
Fixed taging for disabled host
This commit is contained in:
@ -446,11 +446,6 @@ if _RESTORE:
|
|||||||
if ans == "y" and _EXECUTE:
|
if ans == "y" and _EXECUTE:
|
||||||
status, output = subprocess.getstatusoutput(cmnd)
|
status, output = subprocess.getstatusoutput(cmnd)
|
||||||
now = datetime.datetime.now()
|
now = datetime.datetime.now()
|
||||||
ENDTIME = now.strftime("%Y-%m-%d_%H:%M:%S")
|
|
||||||
msg = {"status":"finished","bak_name":app,"start_time":DATETIME,"end_time":ENDTIME,"progress":0}
|
|
||||||
send_mqtt_message(msg)
|
|
||||||
|
|
||||||
now = datetime.datetime.now()
|
|
||||||
ENDJOB = now.strftime("%Y-%m-%d_%H:%M:%S")
|
ENDJOB = now.strftime("%Y-%m-%d_%H:%M:%S")
|
||||||
logging.info("Sending finished status")
|
logging.info("Sending finished status")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user