From 7da33614f1a8708bebcb4f04ee99224c5d6db1d3 Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Fri, 7 Jul 2023 18:57:04 +0200 Subject: Updated 4 files and added .idea/workspace.sync-conflict-20230705-192530-SY6BK7A.xml (automated) --- includes/jobs/UpdateContactMethods.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/jobs/UpdateContactMethods.php') diff --git a/includes/jobs/UpdateContactMethods.php b/includes/jobs/UpdateContactMethods.php index ab1c1d9..cbd0239 100644 --- a/includes/jobs/UpdateContactMethods.php +++ b/includes/jobs/UpdateContactMethods.php @@ -39,7 +39,7 @@ foreach ($methods as $name => $method) { $return = []; $cmd = "cd \"$_SERVER[DOCUMENT_ROOT]/includes/external/addressbook\" && node \"$_SERVER[DOCUMENT_ROOT]/includes/external/addressbook/$name.js\" \"" . str_replace('"', "''", $contacts[$id][$name]) . "\""; - exec("nice 19 " . $cmd, $return); + exec("nice -n 19 " . $cmd, $return); $json = trim(implode("\n", $return)); $cache[$name][$contacts[$id][$name]] = [ -- cgit