落ち確認

This commit is contained in:
miteruzo
2024-05-02 06:33:51 +09:00
parent d50e23172b
commit ba39be8551
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -7,6 +7,11 @@ const LOG_PATH = './log.txt';
$log_data = [];
exec ("(ps -Af | grep -e '^miteruzo' | grep 'python3 main.py') && (ps -Af | grep -e '^miteruzo' | grep 'obs')",
$output, $exit_code);
$available = $exit_code === 0;
unset ($output, $exit_code);
$page = (int) ($_GET['p'] ?? 1);
$length = (int) ($_GET['max'] ?? 20);
$asc = ($_GET['asc'] ?? 0) != 0;