Skip to content

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

Notifications You must be signed in to change notification settings

mamchenkov/locker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages