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