PHP Classes

Script Alone: Manage the execution of PHP daemon scripts

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 829 All time: 4,150 This week: 252Up
Version License PHP version Categories
script-alone 1.4GNU Lesser Genera...5.0PHP 5, Systems administration, Console
Description Author

This class can be used to manage the execution of PHP daemon scripts.

It can store in control file the state of the currently running script.

The class can check that file to see if an instance of the script is already running to prevent that more than one instance of the script is being executed.

It can also check if another control file exists as a flag indicating that another script instructed the current instance to stop and exit.

Innovation Award
PHP Programming Innovation award nominee
February 2010
Number 3

Prize: One copy of the Zend Studio
Daemons are special programs that are running permanently to execute tasks that need to be performed regularly.

This class provides a solution that makes it easy to manage the execution of daemon applications that can only have a single instance running at a time.

It can also control the execution of a running daemon from a separate script and make it stop when it is necessary.

Manuel Lemos
Picture of Barbushin Sergey
Name: Barbushin Sergey <contact>
Classes: 1 package by
Country: Russian Federation Russian Federation
Age: 37
All time rank: 208660 in Russian Federation Russian Federation
Week rank: 485 Up24 in Russian Federation Russian Federation Up
Innovation award
Innovation award
Nominee: 1x

ScriptAlone is PHP class for limiting running only one instance of some script

Project site:


Contact to developer (ready for new job) - English - Russian
  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example
Accessible without login Plain text file license.txt Lic. License
Accessible without login Plain text file readme.txt Doc. Readme
Plain text file ScriptAlone.php Class ScriptAlone class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:4,150
This week:252Up
For more information send a message to info at phpclasses dot org.