Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Auto re-load a QVW

The following scheduled task command results in a task that will run when user QlikView is logged on and will not when they aren't

schtasks /create /RU QlikView /RP *password* /SC HOURLY /ST 13:15 /TN Qv_Refresh_Rentals_16 /TR "C:\Documents and Settings\QlikView\My Documents\QlikView Commands\Rentals_16_Development.cmd"

Is there any way to run a qvw re-load\refresh without having a user session running on the server?

Thanks

12 Replies
Not applicable
Author

Just an FYI that we run our batch each morning with a batch script running via Windows Scheduled tasks. Seems to work find.

As an extension to the original question, I'm curious if anyone has triggered reloads remotely? For example with a standalone scheduler app on a remote server.

Not applicable
Author


Miles Simpson wrote:
Just an FYI that we run our batch each morning with a batch script running via Windows Scheduled tasks. Seems to work find.

As an extension to the original question, I'm curious if anyone has triggered reloads remotely? For example with a standalone scheduler app on a remote server. <div></div>


Oops... "Seems to work fine" 🙂

Not applicable
Author

Estimados espero les sirva encontre una manera de hacer el Reload mas rapido y no dentro del servidor. Desde el Editor.

Prueben esto.

Crean una variable:

minute(now()) = Recarga cada minuto

Hour(now()) = Recarga cada hora

vrecarga = minute(now())

Crean la Macro con el Reload.

Colocal esto:

'AutoRecarga Documento

sub autoreload

activeDocument.reload

end sub

Luego van a la opcion.

Configuración - Propiedades del Documento y luego Disparadores

Crear un procedimiento de Evento de Variable.

Seleccionan la Variable que creamos "vrecarga" y pinchan "Añadir Acción"

Seleccionan Tipo de acción "externo" - Luego Ejecutar Macro

Colocan autoreload en el nombre de la macro y guardan.

Eso es todo cada un minuto ejecutara la macro cuando cambie al variable.

No he encontrado la manera de quitar la ventana de recarga, esa que aparece cuando le das manualmente el Reload.

Espero les sirva, si tienen problemas me avisan.