cron: move update_suggestions in separated thread

Move the call in  discover_poco.php.
This should fix expiration and other cron related issues
This commit is contained in:
fabrixxm 2015-11-07 17:52:52 +01:00
parent 26b1c55368
commit d5a32ef214
2 changed files with 7 additions and 2 deletions

View file

@ -151,9 +151,10 @@ function cron_run(&$argv, &$argc){
update_contact_birthdays();
update_suggestions();
proc_run('php',"include/discover_poco.php", "suggestions");
set_config('system','last_expire_day',$d2);
proc_run('php','include/expire.php');
}