gjcarneiro / yacron

A modern Cron replacement that is Docker-friendly
MIT License
454 stars 38 forks source link

Bug in interaction between job retries state and concurrencyPolicy #6

Closed gjcarneiro closed 7 years ago

gjcarneiro commented 7 years ago

If a job has failed and is waiting the backoff to retry, then we enter a new minute and another instance of the job tries to fire off, things can go wrong, depending on the concurrencyPolicy. We need to cancel the retry before attempting to launch a new regularly scheduled instance of the job.