summaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to 'admin')
-rw-r--r--admin/WebConsole/comandos/gestores/gestor_Comandos.php8
-rw-r--r--admin/WebConsole/gestores/gestor_ejecutaracciones.php7
2 files changed, 2 insertions, 13 deletions
diff --git a/admin/WebConsole/comandos/gestores/gestor_Comandos.php b/admin/WebConsole/comandos/gestores/gestor_Comandos.php
index e6ba4ef7..c58c1981 100644
--- a/admin/WebConsole/comandos/gestores/gestor_Comandos.php
+++ b/admin/WebConsole/comandos/gestores/gestor_Comandos.php
@@ -256,15 +256,9 @@ if($sw_ejya=='on' || $sw_ejprg=="on" ){
$script=@urldecode($ValorParametros["scp"]);
if($sw_ejya=='on'){
if ($sw_seguimiento == 1) {
- $when = now_params();
$resul = create_schedule_now(strval($sesion),
$EJECUCION_PROCEDIMIENTO,
- "", $when['map_year'],
- $when['map_month'],
- 0, 0, $when['map_day'],
- $when['map_hour'],
- $when['map_am_pm'],
- $when['map_minute']);
+ "");
} else {
run_command($idcomando, $cadenaip, $cadenamac, $atributos);
}
diff --git a/admin/WebConsole/gestores/gestor_ejecutaracciones.php b/admin/WebConsole/gestores/gestor_ejecutaracciones.php
index 5349e1d0..90aa5771 100644
--- a/admin/WebConsole/gestores/gestor_ejecutaracciones.php
+++ b/admin/WebConsole/gestores/gestor_ejecutaracciones.php
@@ -243,12 +243,7 @@ function insertaComando($idcomando,$parametros,$idprocedimiento,$ambito,$idambit
"WHERE idaccion = @sesion";
$resul=$cmd->Ejecutar();
if (resul) {
- $when = now_params();
- $resul = create_schedule(strval($sesion), $EJECUCION_PROCEDIMIENTO, "",
- $when['map_year'], $when['map_month'],
- 0, 0, $when['map_day'],
- $when['map_hour'], $when['map_am_pm'],
- $when['map_minute']);
+ $resul = create_schedule_now(strval($sesion), $EJECUCION_PROCEDIMIENTO, "");
}
return(true);
}