aboutsummaryrefslogtreecommitdiffstats
path: root/include/poller.php
blob: e72121a8a41230c19cdf9b624cf736bc8df22e65 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?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();
}