Discussion Board for collaboration on QlikView Scripting.
I use a command to reload a QVW file.
I execute this command in a loop each 3mn.
Now I need the reload task be killed after a specific timeout only for this application.
Is it possible with some arguments after the QVS.exe call ? Or with some options?
Currently my problem is that sometime, due to server slowdown, the script reload take too much time and my loop reloads again the file
but the first reload task isn't finished yet and have already exceeded my timeout.
So I have 2, then 3, then N QVS.exe executing concurently for the same file and my server don't really like this.
Could you help me?
Go to Solution.
I have finally used other application to manage run/timeout/kill operation.
Have to tried using a batch file instead of QVS? Reload the document using batch file and in the beginning of the batch execution call to kill if the QV.EXE process is still running.
I use a *.bat file which call the command QVS.exe /r Myfile.qvw.
As I can have more than one application file which reload in the same time, for different applications,
I can't just kill instance of QVS.exe because I don't know what'is the good one.
I didnt try it, but the following might work:
Copy and duplicate QVS.exe to QVS_MyFile.exe. In the batchfile reload with QVS_MyFile.exe and you can kill the process for QVS_MyFile.exe.
Can you tell me witch application you used?
I have the same problem...