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.

Source Distribution

scriptmutex-0.2dev.tar.gz (1.5 kB view details)

Uploaded Source

File details

Details for the file scriptmutex-0.2dev.tar.gz.

File metadata

  • Download URL: scriptmutex-0.2dev.tar.gz
  • Upload date:
  • Size: 1.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for scriptmutex-0.2dev.tar.gz
Algorithm Hash digest
SHA256 b3a07448c5b0f05667ffd2b2fe69e05ec25aed35b82f0c210f07145bdff47c4c
MD5 80a0b7c941c3be55beabcc820f41cb8e
BLAKE2b-256 08c5b3d7181579d2ca4c6bab0a53ae5f1c24a488f4db407d7a8d7c34e2c6320e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page