
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
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?
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you have the "close when finished" box checked in your load progress window? If not, this window will keep your process from closing.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have you checked the qvw log to make sure the script is ending?
Regards,
M.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you have the "close when finished" box checked in your load progress window? If not, this window will keep your process from closing.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found it before your reply, but I'll gives you correct answer anyway.
