fluentscheduler / FluentScheduler

Automated job scheduler with fluent interface for the .NET platform.
Other
2.67k stars 407 forks source link

[Bug] Accuracy problem #327

Closed ghost closed 1 year ago

ghost commented 1 year ago

I tested the library there's an accuracy problem with the time the Execute method gets called. For example, if i schedule to run Now and Every 5 seconds, the Execute method will get fired after a second or three instead of 5 seconds. If I schedule after 55 minutes it will get executed after 54 minutes and sometimes 54 minutes and 56 seconds.

ExtraTNT commented 1 year ago

i have a pr open, which could fix your problem (as a side effect, is a fix for something else...) you can try it...