streams/include/cronhooks.php
2012-10-22 19:46:18 -07:00

23 lines
326 B
PHP

<?php
require_once('boot.php');
require_once('include/cli_startup.php');
function cronhooks_run($argv, $argc){
cli_startup();
logger('cronhooks: start');
$d = datetime_convert();
call_hooks('cron', $d);
return;
}
if (array_search(__file__,get_included_files())===0){
cronhooks_run($argv,$argc);
killme();
}