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 enough user ratingsTotal: 831 All time: 4,166 This week: 560Up
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: 39
All time rank: 209260 in Russian Federation Russian Federation
Week rank: 321 Up16 in Russian Federation Russian Federation Up
Innovation award
Innovation award
Nominee: 1x

Details

ScriptAlone is PHP class for limiting running only one instance of some script Project site: http://code.google.com/p/scriptalone SVN: http://scriptalone.googlecode.com/svn/trunk Contact to developer (ready for new job) http://www.linkedin.com/in/barbushin - English http://barbushin.moikrug.ru - 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  
 0%
Total:831
This week:0
All time:4,166
This week:560Up