Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
thiagosdamotta
Contributor
Contributor

Batch files to reload script in QlikView

Hello,

I am trying to use .bat filed to reload my script in QlikView every 1 hours, however I was just able to open the file through the .bat file and it does not run the script. How am I able to run JUST the script every hour through .bat files? Thanks

5 Replies
marcelviegas
Creator II
Creator II

Hi,

if you already have the .bat to open the qvw every 1 hour you only need to configure the trigger according to the attached image.


disparador.jpg

thiagosdamotta
Contributor
Contributor
Author

Marcel I am not pretty sure about the image you posted. That's a print from a Button in QV? that uses Dynamic Update?

marcelviegas
Creator II
Creator II

Qlikview desktop, 

img

treigger.jpg

quwok
Creator III
Creator III

You are just missing the /r switch, so your command should look something like

Qv.exe /r your_document.qvw

This will open the report, reload the script and then save and close the report

Qrishna
Master
Master

i hope you did this properly-

create a batch file with.bat extension tha has the cmd reload command

C:\Program Files\QlikView\Qv.exe   /r documentpath\document.qvw

Save the file as "reload.bat" (quotes inlcuded) and schedule the task for every 1 hr

Scheduling can be done by Qlikview QMC or windows scheduler or any other 3rd part scheduling services.

Hope that helps.