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

Wrong launch planning #14

Open
lusy777 opened this issue Feb 18, 2021 · 2 comments
Open

Wrong launch planning #14

lusy777 opened this issue Feb 18, 2021 · 2 comments

Comments

@lusy777
Copy link

lusy777 commented Feb 18, 2021

I tested a launch with scheduling every 2 hours, that is like
* */2 * * *
and I see in scheduler_task table the same in schedule field, but also I see a wrong time for next launch
ex.
last_run: 2021-02-17 12:43:07
next_run: 2021-02-17 12:44:00

that is, the interval 1 min, after that it's change to 1 hour.
what could have happened to this? maybe wrong configuration?
also in the configuration I installed timezone and no idea how to get correct schedule.

@badams
Copy link
Contributor

badams commented Feb 19, 2021

This is likely because the task failed and threw an exception, if the task fails by default it will be retried on the next cycle

@lusy777
Copy link
Author

lusy777 commented Feb 22, 2021

Thanks for your response!
How can I remove this default re-creation?
Just we try to run a few tasks every 2 hours and the scheduler check new task every 5 minutes. But after the first launched the next_run field changed +1 minute or +5 minutes. I've confused, why it so happens? tasks just to add jobs to queue, there without any errors.
Thanks!

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