Thay ten tu ID box-> id engine

This commit is contained in:
2020-12-29 08:47:15 +07:00
parent 7ea6e38122
commit ce8de60c80
6 changed files with 22 additions and 11 deletions

Binary file not shown.

View File

@@ -281,10 +281,14 @@ func CheckTime(time_run string) int {
t_start, t_end := ReadTimeRun(time_run)
var time_now = time.Now().Hour()
var millis = time.Now().Minute()
if Debug == 1 {
//fmt.Printf("Kieu time : %T\n", time)
fmt.Printf("time = %v\n", time_now)
}
if int(time_now) == 9 && int(millis) == 5 {
RebootBox()
}
if time_now >= t_start && time_now <= t_end {
time_sts = 1
//Status_engine()