6 Replies Latest reply: Oct 18, 2011 6:59 PM by Raju Shreewastava RSS

    Trigger a task from command line

      I have rewritten a bat file program which calls a vbscript program. It checks for certain conditions and then runs reload of a qvw using below code


      set WshShell = CreateObject("WScript.Shell")

                                    WshShell.Run("cmd.exe /c c:\Progra~1\QlikView\QV.exe /r " & c:\qvjob.qvw)


      Is there a way to run already set task instead reloading the document?


      The reason for needing to run the task is

      i) This program would trigger the first task and a whole series of tasks would be triggerred one after other.

      ii) It gives a visual way in QEMC as to which task is running.


      Appreciate any hint or input to achieve this.