summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/gestores/gestor_ejecutaracciones.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/WebConsole/gestores/gestor_ejecutaracciones.php')
-rw-r--r--admin/WebConsole/gestores/gestor_ejecutaracciones.php7
1 files changed, 1 insertions, 6 deletions
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);
}