PHP Classes

PHP Process Manager: Execute PHP code within time and memory limits

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: 277 All time: 7,648 This week: 78Up
Version License PHP version Categories
process-manager 1.1.0BSD License5.3.0PHP 5, Language
Description 

Author

This class can execute PHP code within time and memory limits.

It runs code repeatedly while it does not exceed a given time or memory usage limits.

The class should be extended by a sub-class that actually executes the iteration code.

Picture of Sergii Pryz
  Performance   Level  
Innovation award
Innovation award
Nominee: 5x

 

Details

ProcessManager ============== Introduction ------------ ProcessManager is an module which helps run long time process as long as PHP limits allows it. The limits are memory and execution time. ### The areas of usage * Ajax handlers. Where process was splitted by Ajax. * Garbage collectors. Where user initiate to clear cache, logs, etc. * Core for crons. It is make crons more stable without time-limit or memory-limit errors. ### Example The example file can be found here: `/Example.php`

  Files folder image Files (12)  
File Role Description
Files folder imagedocs (1 directory)
Files folder imagesrc (1 file, 1 directory)
Accessible without login Plain text file CHANGELOG.md Data Documentation
Accessible without login Plain text file Example.php Example Example script
Accessible without login Plain text file LICENSE.txt Lic. License
Accessible without login Plain text file README.md Data Documentation

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  
 100%
Total:277
This week:0
All time:7,648
This week:78Up