Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Announcements

Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

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

Re: Kill reload script after a custom timeout

Hi,

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

Regards.

5 Replies
Not applicable

Re: Kill reload script after a custom timeout

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

Re: Kill reload script after a custom timeout

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

Re: Kill reload script after a custom timeout

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

Re: Kill reload script after a custom timeout

Hi,

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

Regards.

ariel_klien
Not applicable

Re: Kill reload script after a custom timeout

Hi,

Can you tell me witch application you used?

I have the same problem...

Thanks

Ariel