Shell timeout log only every 10 seconds
parent
80fc8b40cd
commit
b11034dd17
|
@ -1077,7 +1077,9 @@ func taskStartShell(args taskStartShellArgs) string {
|
||||||
utils.WriteOption("SHELL_STATUS", "not_running")
|
utils.WriteOption("SHELL_STATUS", "not_running")
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
if timeout%10 == 0 {
|
||||||
fmt.Println("Active Shell Timeout is " + fmt.Sprint(timeout) + " seconds")
|
fmt.Println("Active Shell Timeout is " + fmt.Sprint(timeout) + " seconds")
|
||||||
|
}
|
||||||
time.Sleep(1 * time.Second)
|
time.Sleep(1 * time.Second)
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|
Loading…
Reference in New Issue