3 Replies Latest reply: Aug 29, 2014 9:45 AM by Staffan Johansson RSS

    Bat file in windows Task Scheduler

    Staffan Johansson

      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?