streams/include/cronhooks.php

24 lines
326 B
PHP
Raw Normal View History

2011-08-16 05:23:17 +00:00
<?php
2012-10-23 02:46:18 +00:00
require_once('boot.php');
require_once('include/cli_startup.php');
function cronhooks_run($argv, $argc){
2012-10-23 02:46:18 +00:00
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();
}