PHP Classes

proc_runner: Run a script in background using PHP CLI

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 472 All time: 6,010 This week: 660Up
Version License PHP version Categories
back-runner 1.0.0Artistic License5.2PHP 5, Language
Description 

Author

This class can be used to run a script in background using PHP CLI.

It uses PHP proc_open() function to run a PHP script in the background by executing the PHP CLI program version.

The started background scripts may run until they finish or may be stopped by the class usin the PHP proc_close() function.

Picture of Pashkov Denis Igorevich
  Performance   Level  
Name: Pashkov Denis Igorevich <contact>
Classes: 21 packages by
Country: Ukraine Ukraine
Age: 34
All time rank: 3068 in Ukraine Ukraine
Week rank: 43 Up1 in Ukraine Ukraine Up
Innovation award
Innovation award
Nominee: 10x

Winner: 1x

  Files folder image Files (3)  
File Role Description
Plain text file damon_class.php Class Main class with example inside
Plain text file loop.php Aux. loop to run
Plain text file STUFF.txt Data out

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:472
This week:0
All time:6,010
This week:660Up
User Comments (1)
Thats a good class .
14 years ago (José Filipe Lopes Santos)
60%StarStarStarStar