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
Fix for #23 where scheduling jobs on several weekdays will result in all jobs being run at the same time/day. Added a test for this, and preemptive tests for possible edge cases with weekday functions, mostly to ensure I didn't break anything with my fix.
t.Logf("Two jobs scheduled at the same time on two different weekdays should never run at the same time.[job1: %s; job2: %s]", job1.NextScheduledTime(), job2.NextScheduledTime())
39
+
}
40
+
}
41
+
42
+
// This ensures that if you schedule a job for today's weekday, but the time is already passed, it will be scheduled for
0 commit comments