Skip to main content
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.

Download files

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

Source Distribution

single-0.2.0.tar.gz (3.9 kB view details)

Uploaded Source

File details

Details for the file single-0.2.0.tar.gz.

File metadata

  • Download URL: single-0.2.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.5.3 setuptools/3.3 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/2.7.6

File hashes

Hashes for single-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5072fe937458bbf604bee4f67f53f809d76a0ab023b2136ce2d4846cc22d7d36
MD5 cedaac906d63a36059fe99e973b3a43b
BLAKE2b-256 6956889abd843b3acb42b2258e66ec52624e7f7db87e80a5e1a480ba71e22a1e

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.0 This release

1 file

0.0.2

1 file

0.0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page