Qlik Community

QlikView Documents

Documents for QlikView related information.

Announcements
QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.

Trigger QV Task using command line arguments

swarup_malli
Valued Contributor

Trigger QV Task using command line arguments

Step 1) First schedule a task in QMC to reload your document. The task should be triggered "on an external event". It will be just waiting for a signal (see fig 1)

Fig 1

Fig 1.png

Then type a password for this task (you will need to use this password as an argument in the command line to trigger the task ) ( See fig 2) ,save it  ,then apply

Fig 2

Fig 2.png

2)  Download the Enhanced version of QlikTech QMSEDX program from here and save it on your system or the QV server box.

3) Now type the command to trigger the task from command line in a text file and save it as a bat file (you can convert a .txt file into bat file by changing the file extension to .bat) in the same location as that of the downloaded  .  The syntax of the command is as follows:

QMSEDX.exe -task="NameOfTheTask " -qms="NameOfTheQVServerBox"  -password="PasswordOfTheTask"

Note: If the executables are present in a different location then tweak the command like this

"PathOfTheFolder\QMSEDX.exe"-task="NameOfTheTask " -qms="NameOfTheQVServerBox"  -password="PasswordOfTheTask"

4) Name of the task can be found here (See fig 3 )

Fig 3

fig 3.png

You can find the name of the computer (it has to be the name of QV server box ) by right clicking on My Computer icon Mycom.png ,click properties .

You can find the password  here (see fig 4)


Fig 4

Fig 2.png

Note : You may have to unblock the executable (By checking the Properties of QMSEDX.exe. file )

.

Comments
OmarBenSalem
Esteemed Contributor

Thank you for the post;

To use QMS-EDX, is it essential to have a Publisher License or this could be done with a QlikView Server?

Thanks,

Omar,

swarup_malli
Valued Contributor

you are welcome,publisher( or 3rd party scheduler) is needed for scheduling tasks on QMC

OmarBenSalem
Esteemed Contributor

So, if I select "by an external event" and use a .bat file for example to run my task; I don't have to use publisher?

adriano_fornoni
New Contributor III

Thanks, it is useful

Not applicable

Hi,

Can i Use QMSEDX without marking Trigger by External event. ? I've task (task2) which will trigger on the success of its dependent task(task1). So I need to trigger the dependent task first.

I do not want to choose Trigger on external event for task1. Is it possible ?

bgarland
Contributor III

Where can I find the latest version of QMSEDX? The link in this thread no longer works.

Version history
Revision #:
1 of 1
Last update:
‎01-08-2015 05:20 PM
Updated by: