gocron icon indicating copy to clipboard operation
gocron copied to clipboard

Async Scheduler

Open darlandieterich opened this issue 5 years ago • 2 comments

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()

darlandieterich avatar Dec 03 '20 13:12 darlandieterich

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

JohnRoesler avatar Jan 06 '21 02:01 JohnRoesler

all right! moving the issue. thanks!!

darlandieterich avatar Jan 12 '21 12:01 darlandieterich