diff options
Diffstat (limited to 'admin/WebConsole')
-rw-r--r-- | admin/WebConsole/rest/remotepc.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/admin/WebConsole/rest/remotepc.php b/admin/WebConsole/rest/remotepc.php index 6dc5a62d..5c9c7c33 100644 --- a/admin/WebConsole/rest/remotepc.php +++ b/admin/WebConsole/rest/remotepc.php @@ -185,7 +185,8 @@ INSERT INTO acciones idcentro=$ouid; EOD; $t2 = $cmd->Ejecutar(); - create_schedule_now(strval($timestamp), + $id = $cmd->Autonumerico(); + create_schedule_now(strval($id), $EJECUCION_COMANDO, "auto-queue-remotepc-reserve-".$timestamp); // Create event to remove reservation on timeout (15 min.). @@ -682,7 +683,8 @@ INSERT INTO acciones idcentro=$ouid; EOD; $cmd->Ejecutar(); - create_schedule_now(strval($timestamp), + $id = $cmd->Autonumerico(); + create_schedule_now(strval($id), $EJECUCION_COMANDO, "auto-queue-remotepc-init-".$timestamp); // Create event to remove the operation on timeout (15 min.). |