Thay ten tu ID box-> id engine
This commit is contained in:
Binary file not shown.
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user