diff options
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 |