mirror of
https://github.com/unraid/webgui.git
synced 2026-05-03 08:19:27 -05:00
@@ -38,7 +38,7 @@ if ($command && strncmp($name,$path,strlen($path))===0) {
|
||||
} elseif (!pgrep($name)) {
|
||||
// only execute when command and valid path is given and command not already running
|
||||
exec("echo \"$name $args\" | at -M now >/dev/null 2>&1");
|
||||
usleep(100000);
|
||||
usleep(50000);
|
||||
$pid = pgrep($name); // started
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user