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/poller.php
2016-06-22 23:26:29 +05:30

15 lines
260 B
PHP

<?php /** @file */
require_once('include/cli_startup.php');
function poller_run($argc,$argv){
cli_startup();
\Zotlabs\Daemon\Master::Summon(array('Cron'));
}
if (array_search(__file__,get_included_files())===0){
poller_run($argc,$argv);
killme();
}