3 Replies Latest reply: May 29, 2015 10:40 AM by Joaqu�n L�zaro RSS

    Schedulling reloads with QV-Desktop and without QV-Server

    Joaqu�n L�zaro

      Hi community:

       

      Is there a way to schedule reloads usign QV-Desktop but not QV-Server ?

       

      I will appreciate any help

       

      Thank you

      Joaquín

        • Re: Schedulling reloads with QV-Desktop and without QV-Server
          Andrew Whitfield

          Hi Joaquin,

           

          yes you would create a bat file containing the correct Command Syntax and then execute this from WIndows task scheduler.

           

          This is an extract from Section 7 of the Qlikview reference Manual

           

          The QlikView command line invocation can be described by the following syntax (for a description of the

          syntax notation used, see Backus-Naur Formalism (page 931)):

          [ path ]Qv.exe[ { switch } documentfile ]

          The path is the path to the file, either absolute, or relative to the current directory.

          documentfile::= [ path ] documentfilename

          documentfilename is the name of the document file.

          switch is used to mark different options:

          /r

          Reload switch. The document will be opened and the script reloaded. Thereafter the document will be saved,

          and QlikView will close itself.

          /rp

          The same as above, but with a partial reload.

          /l

          Load new data. The document will be opened and the script reloaded. The document will not be saved and

          QlikView will remain open.

          /lp

          The same as above, but with a partial reload.

          /v

          If this switch is immediately followed by a variable name and an assignment, the variable will obtain the

          assigned value before the script execution starts.

          /nodata

          Opens the document without variables, table and field data. This feature is also available for previously

          opened documents on The Start Page (page 36).

          /NoSecurity

          Overrides QlikView security measures against hostile macros and scripts embedded in QlikView documents.

          No warning dialogs prompting the user to accept potentially harmful code will be shown. Use this switch

          with caution and only with well-known documents.

          Example:

          qv.exe /r/vMyvar=123 abc.qvw

           

          HTH Andy.

          • Re: Schedulling reloads with QV-Desktop and without QV-Server
            Celambarasan Adhimulam

            Are you questioning on Scheduling jobs or normal reload in desktop?

            for job scheduling You can use Windows job scheduler with Qv.exe /r command.