Login   Register  
PHP Classes
elePHPant
Icontem

Script Alone: Manage the execution of PHP daemon scripts

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2010-01-25 (4 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 812 This week: 1All time: 3,920 This week: 1,384Up
Version License PHP version Categories  
script-alone 1.4GNU Lesser General Publ...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: 29
All time rank: 191952 in Russian Federation Russian Federation
Week rank: 1063 Up29 in Russian Federation Russian Federation Up
Innovation award
Innovation award
Nominee: 1x

  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:812All time:3,920
 This week:1This week:1,384Up