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

  Author Author  
Picture of Barbushin Sergey
Name: Barbushin Sergey <e-mail contact>
Packages: 1 Browse all classes by Barbushin Sergey Browse all classes by
Country: Russian Federation Russian Federation - PHP jobs in Russian Federation
Age: 29
All time rank: 188350 in Russian Federation Russian Federation
Week rank: 2007 Down56 in Russian Federation Russian Federation Down
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download Download .zip .tar.gz  
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.

  Classes of Barbushin Sergey  >  Script Alone  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Script Alone
Base name: script-alone
Description: Manage the execution of PHP daemon scripts
Version: 1.4
PHP version: 5.0
License: GNU Lesser General Public License (LGPL)
All time users: 807 users
All time rank: 3863
Week users: 0 users
Week rank: 2463 Equal
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Systems administration System configuration and management View top rated classes
Group folder image Console Command line and console utilities View top rated classes


  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

  User ratings  
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  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

Download Download all files: script-alone.tar.gz script-alone.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.