Replies: 2 comments
-
Thanks for your suggestion. I haven't needed anchoring the time in my projects. I'm thinking the current behaviour is fine. |
Beta Was this translation helpful? Give feedback.
-
Thank you both for this package and for this comment. We ran into the same thing that was causing an issue for us. My understanding is that To test it out, I created a command that sleeps for 10s scheduled to run every 10s. This is my output:
In this example, This was causing an issue for us as we have a number of commands scheduled with We fixed this by adding If my understanding is correct this is a tricky footgun to investigate - maybe that should be mentioned in the docs? I'd be happy to open a PR for that if you'd like. Thanks for the package! |
Beta Was this translation helpful? Give feedback.
-
Say we start the package at 09:34:00 and it takes 2s to run all the cron commands
The next execution will start at 09:35:02 and assuming subsequent runs also take 2s
The next execution will start at 09:36:04
The next execution will start at 09:37:06
I was going to try a PR for anchor seconds so if you said --anchor 0 and started running it at 09:37:41 it wouldn't do it's first run until 09:38:00 but if the time floats anyway there's not much point in that PR.
Would you consider this a bug or is it intended?
Beta Was this translation helpful? Give feedback.
All reactions