Restarting a sequence that is already running

What happens in Mitto if I run a sequence that’s already running and it catches up to a job that is taking a while? Does the job that was running get killed?

i think the sequence fails with an error “job already running." it does not kill the already-running job.

1 Like

@will is correct.

You can test this by creating a command line job like this:

    "cmd": "sleep 500",
    "shell": true

Start this command line job (which will run for 500 seconds) and then add it to a new sequence. Run the sequence while the job inside it is running.

The sequence returns this error:
RuntimeError: Job already running

The command line job is not killed and continues to run normally.