You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
begin 2024-09-07 15:26:27
Run time: 2024-09-07 15:26:30
Run time: 2024-09-07 15:26:42
time.Now().Add(6*time.Second) not running
If you delete gocron.WithLimitConcurrentJobs(10, gocron.LimitModeWait) or set gocron.WithLimitConcurrentJobs(1, gocron.LimitModeWait) , job all will run
Version
v2.11.0
The text was updated successfully, but these errors were encountered:
This looks similar to the issues discussed in #722.
What's the use case for running both WithLimitConcurrentJobs and WithSingletonMode?
It does look like there is an odd bug going on here, given changing the limit for WithLimitConcurrentJobs effects whether or not the job runs 3 times, or only 2 times.
Describe the bug
It is not executing according to LimitModeWait mode, but rather behaving like LimitModeReschedule.
To Reproduce
Steps to reproduce the behavior:
Execution Results:
time.Now().Add(6*time.Second) not running
If you delete gocron.WithLimitConcurrentJobs(10, gocron.LimitModeWait) or set gocron.WithLimitConcurrentJobs(1, gocron.LimitModeWait) , job all will run
Version
v2.11.0
The text was updated successfully, but these errors were encountered: