streams/include/poller.php

16 lines
260 B
PHP
Raw Normal View History

2013-02-26 01:09:40 +00:00
<?php /** @file */
2011-04-16 06:40:43 +00:00
2012-12-31 00:14:29 +00:00
require_once('include/cli_startup.php');
function poller_run($argc,$argv){
2010-08-17 03:47:40 +00:00
2012-12-31 00:14:29 +00:00
cli_startup();
2016-05-20 05:26:37 +00:00
\Zotlabs\Daemon\Master::Summon(array('Cron'));
}
2010-07-19 03:49:54 +00:00
if (array_search(__file__,get_included_files())===0){
poller_run($argc,$argv);
killme();
}