PHP Classes
elePHPant
Icontem

PHP Cron Daemon: Database driven PHP job scheduler like cron

Recommend this page to a friend!
  Info   View files View files (11)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2007-09-21 (11 years ago) RSS 2.0 feedStarStar 35%Total: 5,696 All time: 408 This week: 372Up
Version License PHP version Categories
phpcrondaemon 0.1GNU General Publi...4.0Time and Date, Systems administration
Description Author

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.

Recommendations

Schedule SMS in month, day, hours, minutes and seconds
Schedule SMS sending

automatic email generate
the email generated automatically on date of birth

Innovation Award
PHP Programming Innovation award nominee
October 2007
Number 2


Prize: One copy of the Zend Studio
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
Name: Tim de Koning is available for providing paid consulting. Contact Tim de Koning .
Classes: 2 packages by
Country: The Netherlands The Netherlands
Age: 38
All time rank: 27710 in The Netherlands The Netherlands
Week rank: 735 Down20 in The Netherlands The Netherlands Down
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Files folder imagekill (1 file)
Files folder imagelib (3 files, 1 directory)
Files folder imagelog (1 file)
Accessible without login Plain text file daemon.php Appl. Full package file
Accessible without login Plain text file db.sql Data full SQL for db creation

  Files folder image Files  /  kill  
File Role Description
  Accessible without login Plain text file readme Data small readme file for the kill command

  Files folder image Files  /  lib  
File Role Description
Files folder imagecron (4 files)
  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 Files  /  lib  /  cron  
File Role Description
  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 Files  /  log  
File Role Description
  Accessible without login Plain text file readme Data small readme file for the loggin

Downloadphpcrondaemon-2007-09-21.zip 19KB
Downloadphpcrondaemon-2007-09-21.tar.gz 15KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
Thread Download .zip .tar.gz This class forms the actual thread-generation. Is included by default Required
PHP Cron Parser Download .zip .tar.gz This classes is included for extracting cron information from the definitions Required
 Version Control Unique User Downloads Download Rankings  
 0%
Total:5,696
This week:0
All time:408
This week:372Up
User Ratings User Comments (2)
 All time
Utility:58%StarStarStar
Consistency:66%StarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:35%StarStar
Rank:3146
 
In file db.
8 years ago (Javier Rodriguez Cobo)
60%StarStarStarStar
NULL
9 years ago (samiwt)
0%Star