summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2020-05-19 10:18:35 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2020-06-02 12:32:36 +0200
commitbf1117db75cfdc65d2d2691a8d5747be2b2126ea (patch)
tree6ef703ecf8b7867c03dc50654378a34f2f544890
parent77039b1d5cc4f7e149bd31496d0204c24f9d109f (diff)
#942 add WoL on commands, procedures and tasks (web)
-rw-r--r--admin/WebConsole/comandos/gestores/gestor_Comandos.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/admin/WebConsole/comandos/gestores/gestor_Comandos.php b/admin/WebConsole/comandos/gestores/gestor_Comandos.php
index 664307be..64e159af 100644
--- a/admin/WebConsole/comandos/gestores/gestor_Comandos.php
+++ b/admin/WebConsole/comandos/gestores/gestor_Comandos.php
@@ -242,8 +242,7 @@ 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 &&
- $idcomando != OG_CMD_ID_WAKEUP) {
+ if ($sw_seguimiento == 1) {
$when = now_params();
$resul = create_schedule(strval($sesion),
$EJECUCION_PROCEDIMIENTO,