Skip to content

poen0121/scheduler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scheduler

PHP Library ( PHP >= 5.2 ) CGI

About

Scheduler the operation mode by CGI.

Yield function with CURL support.

Learning Documents

Please read `readme.php` document.

Example

Schedule script.
eg: file `schedule01.php`
--------------------------------------------------------------
<?php
include('scheduler/main.inc.php');
if(hpl_scheduler::command(true,5)){
	error_log('Message : Test time ['.time().']'.PHP_EOL, 3, './schedule01.log');
}
?>
--------------------------------------------------------------

Trigger script.
eg: file `trigger.php`
--------------------------------------------------------------
<?php
include('scheduler/main.inc.php');
hpl_scheduler::yield('schedule01.php');
?>
--------------------------------------------------------------

Refer to the demo.

Releases

No releases published

Packages

No packages published

Languages