forked from j-guyon/CommandSchedulerBundle
-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
Hello!
I have a situation which I don't think is a bug but which I find strange and which is a change that was introduced on f37c976.
I have the following real case with two jobs:
- Job1, which runs every hour at minute 5 (5 * * * *)
- Job2, which runs every hour at minute 10 (10 * * * *)
Generally Job1 finishes quickly, but in certain situations it can last more than 5 minutes, overlapping with the start of Job2.
What I expected and how the original library worked (I've been using it for several years) is that Job2 would start normally.
But now the lock is general at scheduler level. So Job2 doesn't start until Job1 finishes.
The lock should exist but at the level of each job so that the same job is not running twice at the same time, but here they are two different jobs.
Thank you very much for the work to maintain this library!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels