Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lock script so that only 1 backup can run at a time #2

Merged
merged 1 commit into from
Apr 10, 2020

Conversation

zabullet
Copy link

@zabullet zabullet commented Apr 9, 2020

Where a backup runs on a cron and takes a lot of time multiple instances can trip up over each other. This change blocks (with error) the execution of other instances if one is already running

Where a backup runs on a cron and takes a lot of time multiple instances can trip up over each other. This change blocks (with error) the execution of other instances if one is already running
@omegazeng omegazeng merged commit 442d159 into omegazeng:master Apr 10, 2020
@omegazeng
Copy link
Owner

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants