taskGetSystemUptime to run every 5 ticks
parent
45b326c79d
commit
00a2df378b
|
@ -264,6 +264,7 @@ func ExecuteSchedules(tick int) {
|
|||
|
||||
if tick%5 == 0 {
|
||||
// Executing every 5 ticks
|
||||
taskGetSystemUptime()
|
||||
log.Println(taskGetStorageDevices())
|
||||
}
|
||||
|
||||
|
@ -273,11 +274,6 @@ func ExecuteSchedules(tick int) {
|
|||
|
||||
}
|
||||
|
||||
if tick%60 == 0 {
|
||||
// Every 60 ticks...
|
||||
|
||||
}
|
||||
|
||||
// Just add a schedule here if you need a custom one (every "tick hour", every "tick day", etc...)
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue