1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/hubzilla_ynh.git synced 2024-09-03 19:26:21 +02:00
hubzilla_ynh/sources/include/cronhooks.php
2015-08-23 16:38:18 -04:00

23 lines
339 B
PHP

<?php /** @file */
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();
}