PHP Classes
Icontem

Class: PHP Cron Daemon


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Tim de Koning  >  PHP Cron Daemon  >  Download  >  Support forum Support forum (3)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP Cron Daemon Support forum
Base name: phpcrondaemon
Description: Database driven PHP job scheduler like cron
Related top rated classes: , , ,
Version: 0.1
Required PHP version: 4.0
License: GNU General Public License (GPL)
All time users: 2611 users
All time rank: 943
Week users: 18 users
Week rank: 338
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Dependencies   Applications   Files Files  

Author

Picture of Tim de Koning
Name: Tim de Koning is available for providing paid consulting. Contact Tim de Koning .
Published packages: 2 Browse this author's classes Browse this author's classes
Country: The Netherlands The Netherlands - PHP jobs in The Netherlands
Home page: http://www.kingsquare.nl/
Age: ???
All time rank: 465
Week rank: 271

Innovation Award

PHP Programming Innovation award nominee
October 2007
Number 2
Cron is a standard tool available in all Linux/Unix distributions for scheduling tasks that must be executed regularly.

This package provides a full implementation of the Cron tool that works under any platform supported by PHP that has the pcntl_extension.

It manages the execution of scheduled PHP scripts instead of running regular executable programs like the original cron tool.

PHP scripts are executed using forked processes to allow the execution of multiple scheduled scripts at the same time.

Manuel Lemos

Groups

Group folder image Time and Date Time and date values, formats and conversion View top rated classes
Group folder image Systems administration System configuration and management View top rated classes

Detailed description

This package can be used to schedule the execution of task like the cron program.

First it starts a daemon process using Luca Mariano's PHP fork class to make the cron daemon script run like a standalone program.

It can parse a crontab file with Mick Sear's cron parser class and extract the job scheduling definitions into a MySQL database table.

When it is time to run a scheduled job, it executes the job command in the crontab definition as PHP code as a separate process.

The output of the job PHP code is also stored in a database table.

User ratings

Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Not sure (41.7%)
Not sure (41.7%)
-
-
-
-
Insufficient (25.0%)
1947
Month:
Not yet rated by the users

Packages needed by this class

Class Dependency Why it is needed
PHP Cron Parser
Required
This classes is included for extracting cron information from the definitions
Thread
Required
This class forms the actual thread-generation. Is included by default

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

File Role Description
Plain text file daemon.php Appl. Full package file
Plain text file db.sql Data full SQL for db creation
Files folder image kill
  Plain text file readme Data small readme file for the kill command
Files folder image lib/cron
  Plain text file daemon.php Class actual cron daemon
  Plain text file job.php Class actual job definition for the database
  Plain text file parser.php Class crontab-like parser script based on Nikol S
  Plain text file tab.php Class crontab definition for database
Files folder image lib
  Plain text file miniDb.php Class small db abstraction lib (based on ADODB)
  Plain text file phpfork.php Class original (slightly modified) class PHP Fork
  Plain text file worker Class the worker processing class
Files folder image log
  Plain text file readme Data small readme file for the loggin
Download all files: phpcrondaemon.tar.gz phpcrondaemon.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products