PID file support 1.0

For CLI scripts, allows you to ensure that only one copy of the script will run at a given time, using a PID (process ID) file.
Requires posix module.

Recommended deployment is to put it in a file 'pid_file.lib.php' in an include directory. Then require_once('pid_file.lib.php') in scripts you want to use it, and call, for example, check_pid_file('/var/run/my_script.pid') to perform your PID file check.

License type: Free
Date added: 3 years, 11 months 22 days ago | Last updated: 3 years, 11 months 22 days ago

More popular Utilities & Tools

This is actually one of the most advanced image hosting script. The imagetize key features: SEO, Ads Ready, Admin

Listing Files

Hot Scripts
Sponsors