Login   Register  
PHP Classes
elePHPant
Icontem

Class: Script Alone

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Barbushin Sergey  >  Script Alone  >  Download .tar.gz .zip  >  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
Related classes: , ,
Version: 1.4
PHP version: 5.0
License: GNU Lesser General Public License (LGPL)
All time users: 756 users
All time rank: 3597
Week users: 1 user
Week rank: 2503
Picture of Barbushin Sergey
Author: Barbushin Sergey <e-mail contact>
Packages: 1 Browse this author's classes Browse this author's classes
Country: Russian Federation Russian Federation - PHP jobs in Russian Federation
Age: 27
All time rank: 168144 in Russian Federation Russian Federation
Week rank: 1661 Up47 Down in Russian Federation Russian Federation
Innovation award
Innovation award
Nominee: 1x


  Detailed description  
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.

 

  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

  Rate classes User ratings   Applications   Files Files  

  Innovation Award  
PHP Programming Innovation award nominee
February 2010
Number 3
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
Plain text file example.php Example Example
Plain text file license.txt Lic. License
Plain text file readme.txt Doc. Readme
Plain text file ScriptAlone.php Class ScriptAlone class

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.