Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Interval" scheduler skipping first iteration #375

Closed
ozone89 opened this issue Jun 8, 2019 · 2 comments
Closed

"Interval" scheduler skipping first iteration #375

ozone89 opened this issue Jun 8, 2019 · 2 comments

Comments

@ozone89
Copy link

ozone89 commented Jun 8, 2019

Is this an intended behaviour?

I get there's a workaround proposed by the author himself, but it seems a bit counter-intuitive to me, and it involves adding from datetime import datetime to your code, further cluttering it.

Could it be possible to at least add an option, like skip_first_run=[True|False]?

@agronholm
Copy link
Owner

It was the original behaviour and I intend to change it in the next major release.

@ozone89
Copy link
Author

ozone89 commented Jun 9, 2019

thank you :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants