Login   Register  
PHP Classes
elePHPant
Icontem

File: readme.txt

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of NaiFPHP  >  Easy Cron  >  readme.txt  >  Download  
File: readme.txt
Role: Documentation
Content type: text/plain
Description: info about Easy Cron
Class: Easy Cron
Schedule site down time period
Author: By
Last change: update
Date: 2006-09-13 19:41
Size: 1,600 bytes
 

Contents

Class file image Download
/************************************************************************
=========================================================
| @ Script Name             : EasyCron
| @ Version                 : 1.0
| @ Description             : Open and Close your website in fixed times .
| @ All rights reserved to  : NaiF PHP
| @ Created In              : 8-9-2006
| @ Support Site            : http://www.naifphp.net
=========================================================
**************************************************************************/

# ABOUT THIS CLASS :

- Use It to manage your open/close status for your website .
- You can fix your start time for your website /open .
- You can fix your close time for your website /close .
- You can adding more hours for your website to open and close.
- You can show the time which your website will be avaliable .
- it's easy for using .



# ABOUT USING :

- go to make.php to make new cron
- include the EasyCron.php in your website header
- May you need to statement this folder 'easycron' (Chmod) the 777 .




# Notes :
- if you want to use EasyCron in another folder, just use
$obj->cron_path = "path/to/EasyCron";
then add :
include("path/to/easycron/example.php");
in the included page .


for example :
easycorn : "path/to/easycron/example.php"

add this line in example.php :
$obj->cron_path = "path/to/easycron";


you have another folder : "path/to/new_folder/index.php"

add this code in index.php for included cron page :
include("path/to/easycron/example.php");


thanks for you .