mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-12-29 17:26:34 +08:00
启动时判断是否处于空闲时间决定是否执行fstrim
This commit is contained in:
@@ -44,3 +44,7 @@ func TestRunTicker(t *testing.T) {
|
||||
t.Log(timeutil.Format("H:i:s"), "run once")
|
||||
})
|
||||
}
|
||||
|
||||
func TestIsMinHour(t *testing.T) {
|
||||
t.Log(idles.IsMinHour())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user