summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/comandos
diff options
context:
space:
mode:
Diffstat (limited to 'admin/WebConsole/comandos')
-rw-r--r--admin/WebConsole/comandos/gestores/gestor_Comandos.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/admin/WebConsole/comandos/gestores/gestor_Comandos.php b/admin/WebConsole/comandos/gestores/gestor_Comandos.php
index 94b48878..b0780f1f 100644
--- a/admin/WebConsole/comandos/gestores/gestor_Comandos.php
+++ b/admin/WebConsole/comandos/gestores/gestor_Comandos.php
@@ -231,7 +231,8 @@ if($sw_ejya=='on' || $sw_ejprg=="on" ){
$ValorParametros=extrae_parametros($parametros,chr(13),'=');
$script=@urldecode($ValorParametros["scp"]);
if($sw_ejya=='on'){
- if ($sw_seguimiento == 1 || $sw_ejprg == "on")
+ if (($sw_seguimiento == 1 || $sw_ejprg == "on") &&
+ $idcomando != OG_CMD_ID_WAKEUP)
run_schedule($cadenaip);
else
run_command($idcomando, $cadenaip, $cadenamac, $atributos);