taskGetSystemUptime to run every 5 ticks

pull/17/head
Paulo Truta 2021-06-15 10:56:33 +00:00
parent 45b326c79d
commit 00a2df378b
1 changed files with 1 additions and 5 deletions

View File

@ -264,6 +264,7 @@ func ExecuteSchedules(tick int) {
if tick%5 == 0 { if tick%5 == 0 {
// Executing every 5 ticks // Executing every 5 ticks
taskGetSystemUptime()
log.Println(taskGetStorageDevices()) 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...) // Just add a schedule here if you need a custom one (every "tick hour", every "tick day", etc...)
} }