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:
@@ -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');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user