diff options
author | Javier Sánchez Parra <jsanchez@soleta.eu> | 2020-05-14 16:27:52 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2020-06-02 12:32:36 +0200 |
commit | 15a9c873d64b67e9080c42545daa2fd53edd0da5 (patch) | |
tree | 21965af6ede9b8109cf553b7ced999114058ecef /admin/WebConsole/gestores | |
parent | bb4745b72e103b867a024552651a965aba4a8d63 (diff) |
#942 add immediate commands on the queue (web)
Users can launch immediate commands on the queue to keep an history and
to watch the status and the properties.
This commit adapt this functionality to new functions and behaviour
of the ogAdmServer.
Diffstat (limited to 'admin/WebConsole/gestores')
-rw-r--r-- | admin/WebConsole/gestores/gestor_ejecutaracciones.php | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/admin/WebConsole/gestores/gestor_ejecutaracciones.php b/admin/WebConsole/gestores/gestor_ejecutaracciones.php index 4f6f8138..5349e1d0 100644 --- a/admin/WebConsole/gestores/gestor_ejecutaracciones.php +++ b/admin/WebConsole/gestores/gestor_ejecutaracciones.php @@ -19,25 +19,6 @@ include_once("../includes/RecopilaIpesMacs.php"); include_once("../includes/restfunctions.php"); //________________________________________________________________________________________________________ -function now_params() -{ - $year = intval(date('Y')) - 2010; - $month = intval(date('m')) - 1; - $day = intval(date('j')) - 1; - $hour = intval(date('g')); - $am_pm = date('a'); - $minute = intval(date('i')); - - $params['map_year'] = 1 << $year; - $params['map_month'] = 1 << $month; - $params['map_day'] = 1 << $day; - $params['map_hour'] = 1 << $hour; - $params['map_am_pm'] = strcmp($am_pm, 'am') ? 1 : 0; - $params['map_minute'] = $minute; - - return $params; -} - define('OG_CMD_ID_WAKEUP', 1); $opcion=0; // Inicializa parametros |