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');
|
2011-01-28 13:04:18 +00:00
|
|
|
|
2016-05-18 02:49:21 +00:00
|
|
|
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'));
|
2014-10-20 18:31:47 +00:00
|
|
|
|
2011-01-28 13:04:18 +00:00
|
|
|
}
|
2010-07-19 03:49:54 +00:00
|
|
|
|
2011-01-28 13:04:18 +00:00
|
|
|
if (array_search(__file__,get_included_files())===0){
|
2016-05-18 02:49:21 +00:00
|
|
|
poller_run($argc,$argv);
|
2011-01-28 13:04:18 +00:00
|
|
|
killme();
|
|
|
|
}
|