This commit is contained in:
Your Name
2025-02-27 11:54:53 +01:00
parent 3d507ae659
commit bf9ece8589
2 changed files with 45 additions and 0 deletions

View File

@@ -61,6 +61,12 @@ if ($type == "sys_RTC_module_time") {
echo $output;
}
if ($type == "sara_ping") {
$command = 'sudo /usr/bin/python3 /var/www/nebuleair_pro_4g/SARA/sara_ping.py';
$output = shell_exec($command);
echo $output;
}
if ($type == "git_pull") {
$command = 'sudo git pull';
$output = shell_exec($command);