Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Kill reload script after a custom timeout

Hello,

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?

1 Solution

Accepted Solutions
Not applicable
Author

Hi,

I have finally used other application to manage run/timeout/kill operation.

Regards.

View solution in original post

5 Replies
Not applicable
Author

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.

Regards,

Kiran Rokkam.

Not applicable
Author

Hello,

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.

Regards,

Sylvain.

Not applicable
Author

Hi,

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.

Regards,

Kiran Rokkam.

Not applicable
Author

Hi,

I have finally used other application to manage run/timeout/kill operation.

Regards.

ariel_klien
Specialist
Specialist

Hi,

Can you tell me witch application you used?

I have the same problem...

Thanks

Ariel