-
Notifications
You must be signed in to change notification settings - Fork 388
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
When concurrency is forbidding and dkron exiting before it's done - job will never run again #349
Comments
I have the same problem.
|
I believe each execution should save the process id so dkron would be able to check the status. |
As #349 describes, a job with forbidden concurrency doesn't execute again if the target node is restarted. This PR tries to sove it by implementing a mechanism that asks the running nodes about the job status before checking if the job finished and before running the job.
Fixed in #359 |
@Victorcoder I think the issue still exists. I think it's because the check for: |
Should be fixed in #383 |
Quick reproduce:
docker-compose up -d
.docker-compose restart dkron
.Now you can see dkron thinks the job is running, but it's not and forever we will see
scheduler: Skipping execution
.EDIT: it's happening also when restarting dkron service (not only SIGKILL).
The text was updated successfully, but these errors were encountered: