summaryrefslogtreecommitdiff
path: root/includes/jobs/PKFronters.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/jobs/PKFronters.php')
-rw-r--r--includes/jobs/PKFronters.php5
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