lockfile

Python: module for creating PID-based lockfile?

Python: module for creating PID-based lockfile? Question: I’m writing a Python script that may or may not (depending on a bunch of things) run for a long time, and I’d like to make sure that multiple instances (started via cron) don’t step on each others toes. The logical way to do this seems to be …

Total answers: 7