aboutsummaryrefslogtreecommitdiffstats
path: root/include/poller.php
blob: 67a67de1250b787cb902a144ed3fb797279dc8b8 (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('Cron');

}

if (array_search(__file__,get_included_files())===0){
  poller_run($argc,$argv);
  killme();
}