ntt360 / pmon2

golang进程管理工具(golang process manager)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

设备掉电,时间不正确,导致进程不能正常启动

tqcenglish opened this issue · comments

monitor.go 的 runningTask 方法中

			// 启动大于5秒后的进程才进行检查
			if time.Since(cur.UpdatedAt).Seconds() <= 5 {
				return
			}