This commit is contained in:
PaulVua
2025-01-20 13:21:54 +01:00
parent 4d45e34a21
commit 8ebf8dac51
9 changed files with 91 additions and 7 deletions

View File

@@ -12,6 +12,12 @@ if ($type == "git_pull") {
echo $output;
}
if ($type == "clear_loopLogs") {
$command = 'truncate -s 0 /var/www/nebuleair_pro_4g/logs/loop.log';
$output = shell_exec($command);
echo $output;
}
if ($type == "linux_disk") {
$command = 'df -h /';
$output = shell_exec($command);