mamchenkov / locker

PHP class to use for scripts that need to make sure that only a single instance of the process is running.

Home Page:http://mamchenkov.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Locker

Locker.php is a PHP class that can be used to make sure that the single instance of the PHP script is running at any given time.

For example, if you have a slow cronjob (report generator, cleanup task, etc) and want to make sure that cron won't start another instance of this script until the first one is finished, use this class to lock the process.

Build Status

About

PHP class to use for scripts that need to make sure that only a single instance of the process is running.

http://mamchenkov.net


Languages

Language:PHP 100.0%