From fb58801aa406d1dd250d614b02f63f0b72bae6b6 Mon Sep 17 00:00:00 2001 From: Friendika Date: Mon, 22 Nov 2010 15:30:52 -0800 Subject: schedule the queue re-delivery process --- include/poller.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/poller.php') diff --git a/include/poller.php b/include/poller.php index a34a1e01f..a9c1a28ca 100644 --- a/include/poller.php +++ b/include/poller.php @@ -18,6 +18,13 @@ $a->set_baseurl(get_config('system','url')); + + // run queue delivery process in the background + + $php_path = ((strlen($a->config['php_path'])) ? $a->config['php_path'] : 'php'); + proc_close(proc_open("\"$php_path\" \"include/queue.php\" &", array(), $foo)); + + $force = false; if(($argc > 1) && ($argv[1] == 'force')) $force = true; -- cgit v1.2.3