Qlik Community

QlikView Management

Discussion Board for collaboration on QlikView Management.

Announcements
Save the Date: QlikWorld Online, June 24-25, 2020. Free global virtual event for data integration and data analytic gurus. Register Today
Honored Contributor

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
Highlighted
Not applicable

Re: Bat file in windows Task Scheduler

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
Highlighted
Partner
Partner

Re: Bat file in windows Task Scheduler

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

Regards,

M.

Highlighted
Not applicable

Re: Bat file in windows Task Scheduler

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

Highlighted
Honored Contributor

Re: Bat file in windows Task Scheduler

close.png

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