Closed Mazze112 closed 6 months ago
CrontabSchedule
doesn't itself do any scheduling. Its GetNextOccurrence
method just computes the next occurrence based on a given base time so I'm afraid there must be something wrong in your logic/code. If you're convinced otherwise then you'll need to share a stand-alone, runnable and minimal code that demonstrates the issue so I can run it on my end and try to reproduce it. Right now, your logs don't match the code you shared (e.g. there's nothing logging the next occurrence as I see it) so all bets are off.
Closing as there's been no follow-up.
I'm trying to create a list of tasks, that execute in parallel at a certain cron.
There are 5 streams:
05 10 * * *
* 07 10 * * *
* 09 10 * * *
I was expecting this kind of execution flow
Instead I get these
I don't understand why stream 2 is executed two times, at the scheduled cron and 1 second before the schedule, it doesn't happen all the time or for certain stream.
Thank you