diff options
author | RaindropsSys <contact@minteck.org> | 2023-07-17 14:08:41 +0200 |
---|---|---|
committer | RaindropsSys <contact@minteck.org> | 2023-07-17 14:08:41 +0200 |
commit | d0da20e18bf39cd98c1a2773e3a08e8e320d6450 (patch) | |
tree | 0809782ccba92bbd76bb44a80a6d40bdaeb2f0ab /includes/jobs | |
parent | 5eb6a557c44462e7d9d752f3bc97a078ef205bc0 (diff) | |
download | pluralconnect-d0da20e18bf39cd98c1a2773e3a08e8e320d6450.tar.gz pluralconnect-d0da20e18bf39cd98c1a2773e3a08e8e320d6450.tar.bz2 pluralconnect-d0da20e18bf39cd98c1a2773e3a08e8e320d6450.zip |
Updated includes/jobs/PKFronters.php and added 147 files (automated)
Diffstat (limited to 'includes/jobs')
-rw-r--r-- | includes/jobs/PKFronters.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/includes/jobs/PKFronters.php b/includes/jobs/PKFronters.php index 8bdbac8..71143c4 100644 --- a/includes/jobs/PKFronters.php +++ b/includes/jobs/PKFronters.php @@ -41,5 +41,10 @@ if (trim($data) !== "" && $data !== false && json_last_error() === JSON_ERROR_NO echo("Data is invalid: " . json_last_error_msg() . ": " . $data . "\n"); } +echo("Running Matrix integration...\n"); chdir($_SERVER['DOCUMENT_ROOT'] . "/includes/external/matrix"); +exec("nice -n 19 node index.js " . ($system === "gdapd" ? "raindrops" : ($system === "ynmuc" ? "cloudburst" : "other"))); + +echo("Running Signal integration...\n"); +chdir("/opt/peh/includes/external/signal"); exec("nice -n 19 node index.js " . ($system === "gdapd" ? "raindrops" : ($system === "ynmuc" ? "cloudburst" : "other")));
\ No newline at end of file |