PHP Classes
Icontem

Class: Virtual Cron


  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 Giorgos  >  Virtual Cron  >  Download  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Virtual Cron Support forum
Base name: virtualcron
Description: Check whether it is time to run a periodical task
Related top rated classes: , ,
Version: 0.1
Required PHP version: 4.0
License: GNU Lesser General Public License (LGPL)
All time users: 2578 users
All time rank: 952
Week users: 10 users
Week rank: 755
 
  Author   Group folder image Groups   Detailed description   Freshmeat project  
  Rate classes User ratings   Applications   Files Files  

Author

Picture of Giorgos
Name: Giorgos <e-mail contact>
Published packages: 7 Browse this author's classes Browse this author's classes
Country: Greece Greece - PHP jobs in Greece
Home page: http://microo.net/
Age: 31
All time rank: 9
Week rank: 37

Innovation Award

PHP Programming Innovation award nominee
March 2007
Number 4
Many Web applications need to execute periodical tasks, like sending newsletters, processing pending e-commerce orders, etc..

Some operating systems come with programs, like cron or at, to execute scheduled tasks. However, under some Web hosting environments these programs cannot be used.

This class provides an alternative solution that can be used in more restricted hosting environments.

It uses files to keep track of the last time when a periodical task was executed.

The site Web page scripts can use the class to check these files. The class can tell when it is time to execute a task again. When it is time, the same script can execute the scheduled task without depending on external programs.

Manuel Lemos

Groups

Group folder image Time and Date Time and date values, formats and conversion View top rated classes

Detailed description

This class can be used to check whether it is time to run a task that must run from time to time.

It creates a control file to keep track the last time the task was scheduled.

The class can check the control file last modification time to determined whether it passed a given period of time since the last time the task was run.

If the given interval time has passed since the last run, the class recreates the control file and returns true to inform the application that is time to run the task again.

Freshmeat project

Project record: virtualcron
Popularity score: 42.43
Vitality score: 1.0

User ratings

Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (91.7%)
Good (83.3%)
-
Good (83.3%)
-
-
Sufficient (62.5%)
518
Month:
Not yet rated by the users

Applications that use this class

Link Description
Corissia Group Hotels website that uses the virtualcron class to periodically fetch xml data (e.g weaher content)
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
Accessible without login Plain text file virtualcron.php Class the virtual cron class source
Plain text file virtualcron.txt Data the control file
Plain text file example.php Example a little example
Download all files: virtualcron.tar.gz virtualcron.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