diff --git a/main.go b/main.go index e25f289..5d44d44 100644 --- a/main.go +++ b/main.go @@ -120,8 +120,10 @@ func main() { setValues() if refresh >= 1{ go func() { - time.Sleep(time.Duration(refresh) * time.Minute) - setValues() + for { + time.Sleep(time.Duration(refresh) * time.Minute) + setValues() + } }() }