Skip to main content

Create a mutex file for use in simple scripts

Project description

This module is meant to provide a way to make sure that scripts don’t end up running more than once. It creates a file with the pid of the process that created it and if the script is rerun while the previous instance is still running it will just gracefully die. If it detects the lockfile but the pid is no longer running then it will start the script and change the lockfile.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for scriptmutex, version 0.1dev
Filename, size File type Python version Upload date Hashes
Filename, size scriptmutex-0.1dev.tar.gz (1.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page