mirror of
https://github.com/friendica/friendica
synced 2025-04-26 14:30:13 +00:00
schedule the queue re-delivery process
This commit is contained in:
parent
0bcb68200e
commit
fb58801aa4
3 changed files with 30 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue