diff options
author | RaindropsSys <contact@minteck.org> | 2023-07-07 18:57:04 +0200 |
---|---|---|
committer | RaindropsSys <contact@minteck.org> | 2023-07-07 18:57:04 +0200 |
commit | 7da33614f1a8708bebcb4f04ee99224c5d6db1d3 (patch) | |
tree | 075e1b6ba61b53fa8af65557fb296776dc0d62c6 /includes/jobs/UpdateContactMethods.php | |
parent | 783355a2b835c7d036674e121de4424b346fa9e4 (diff) | |
download | pluralconnect-7da33614f1a8708bebcb4f04ee99224c5d6db1d3.tar.gz pluralconnect-7da33614f1a8708bebcb4f04ee99224c5d6db1d3.tar.bz2 pluralconnect-7da33614f1a8708bebcb4f04ee99224c5d6db1d3.zip |
Updated 4 files and added .idea/workspace.sync-conflict-20230705-192530-SY6BK7A.xml (automated)
Diffstat (limited to 'includes/jobs/UpdateContactMethods.php')
-rw-r--r-- | includes/jobs/UpdateContactMethods.php | 2 |
1 files changed, 1 insertions, 1 deletions
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]] = [ |