gocron
gocron copied to clipboard
Async Scheduler
Every 3 seconds call function process but sometimes has delay to response, accumulating the time..
How call async function every 3 seconds?
s := gocron.NewScheduler()
s.Every(3).Seconds().Do(task)
<- s.Start()
Come over to https://github.com/go-co-op/gocron - we, the maintainers forked as Jason has been unreachable for many months. Check and see if you still have the issue
all right! moving the issue. thanks!!