Skip to main content

Ensure single instance of a command without leaving stale lock files.

Project description

Wrap a command with single to ensure there is at most single instance of the command at a time.
This comes in handy when periodically invoking potentially long-running commands by cron. single avoids the problem of stale lock suffered by lock file approach. Even if the command crashes the lock is cleared.

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 single, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size single-0.2.0.tar.gz (3.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page