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-05-19 18:29:47 +0200
commitedf5a2299e31756cfc1312af699a8932b81a34e8 (patch)
tree0cea64296308622e1a59668bb9903137c0fef8c1
parent7fa927e5fbb142d1cc5f72e4592f92927a3d459c (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,