aboutsummaryrefslogtreecommitdiffstats
path: root/include/poller.php
blob: 0946d0ece233df871309df5f403bd99fdd5375b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php /** @file */

require_once('include/cli_startup.php');

function poller_run($argc,$argv){

	cli_startup();

	\Zotlabs\Daemon\Master::Summon('Poller');

}

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