Qlik Community

QlikView Administration

Discussion Board for collaboration on QlikView Management.

cancel
Showing results for 
Search instead for 
Did you mean: 
stabben23
Master
Master

Bat file in windows Task Scheduler

Hi,

I run a batfile from Windows Task Scheduler, this is how my bat file looks like:  "C:\Program Files\QlikView\qv.exe"/r "C:\Qlik\LoadQVD\CreateQVD.qvw" the /r says it will reload/save/close. First time it works but it leaves the Qv.exe open.

taskInWindows.png

Next time it fails "because instance of the same task is already running"

If I kill the Qv.exe process and run task, it works again, but why does not the batfile close the program qv.exe after the reload?

1 Solution

Accepted Solutions
Not applicable

Do you have the "close when finished"  box checked in your load progress window? If not, this window will keep your process from closing.

View solution in original post

3 Replies
martynlloyd
Partner
Partner

Have you checked the qvw log to make sure the script is ending?

Regards,

M.

Not applicable

Do you have the "close when finished"  box checked in your load progress window? If not, this window will keep your process from closing.

stabben23
Master
Master
Author

close.png

I found it before your reply, but I'll gives you correct answer anyway.