Skip to content

Prevent overlapping cron #23

@dani

Description

@dani

I'm using minit to handle backups for my Docker services. On one of them, I misconfigured the schedule, to run every hour. But the backup takes more than an hour, resulting in a second backup starting while the first one was still running.

This is often not desired. Ideally, minit should provide an option to prevent starting a cron based command if a previous one is still running (and it should probably be the default behavior). But in this case, there should be another "timeout" option, to kill a running command if it takes more than the specified amount of time (to prevent hanging script to completely block next run, with a default value of 0, meaning unlimited)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions