FluentScheduler
FluentScheduler copied to clipboard
Run.Every(DayOfWeek) called multiple times with version 6.x
Hi, i have downloaded and compiled the lastes version of FluentScheduler 6 from the repo. I have a schedule set like this:
var weeklyReport = new Schedule(
() => EndWeek(),
run => run.Every(DayOfWeek.Friday).At(16, 0)
);
The schedule start correctly at 16:00 of Friday, but it's been called continuously for like 65k times, not one time.
I have also set a schedule to run every day at the same time:
var dailyReport = new Schedule(
() => EndDay(),
run => run.Every(1).Days().At(16, 0)
);
but this seems to be called correctly only one time.
It's a bug or i am doing something wrong? Thanks.
This is indeed a bug. Going to fix it right away, thanks for reporting it.