diff options
Diffstat (limited to 'includes/jobs/PKFronters.php')
-rw-r--r-- | includes/jobs/PKFronters.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/includes/jobs/PKFronters.php b/includes/jobs/PKFronters.php index feb7fd3..b1449a9 100644 --- a/includes/jobs/PKFronters.php +++ b/includes/jobs/PKFronters.php @@ -36,4 +36,7 @@ if (trim($data) !== "" && $data !== false) { file_put_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/$system/fronters.json", $data); } else { echo("Data is invalid\n"); -}
\ No newline at end of file +} + +chdir($_SERVER['DOCUMENT_ROOT'] . "/includes/external/matrix"); +exec("node index.js " . ($system === "gdapd" ? "raindrops" : ($system === "ynmuc" ? "cloudburst" : "other")));
\ No newline at end of file |