Skip to content

Overlapping commands #100

@gdbonino

Description

@gdbonino

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:

  1. Job1, which runs every hour at minute 5 (5 * * * *)
  2. 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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions