Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Running a QlikSense Task from Command Line

Hi,

I've been trying to kick off a task in the QMC for QlikSense Enterprise (v12.5.2) not Qlikview view a bat file which simply is running and executable. The reason have to do it this way is that after a etl process is complete it needs to kick off the reload of data into the qliksense application.

Is this possible? And if so do you have an example of how this can be achieved?

I've tried 3 approaches through the command line, I have created a load task in the QMC which I can manually kick off fine.

Approach 1 (QMSEDX.exe) : FAILED

Downloaded the Qlik EDX command tool (but think this is specific to QlikView) from here: Using EDX in QlikView 11

The command line I run is

Command:

"C:\PowerTools\QMSEDX_CommandLine\QMSEDX.exe" -task="MyTaskName" -timeout=500


Outcome:

However get the following error and task will not start:

Issue1.png


Approach 2 (Scheduler.exe): FAILED

Try the same approach above with the scheduler with 2 different statements but both fail with the same issue

Command:

"C:\Program Files\Qlik\Sense\Scheduler\Scheduler.exe" -task="MyTaskName" -timeout=500


Outcome:


Approach 3 (Engine.exe): FAILED


Command:

"C:\Program Files\Qlik\Sense\Engine\Engine.exe" -task="MyTaskName" -timeout=500


Outcome:

Just closes the command line and doesn't do anything

Issue2.png


Any ideas?

Thanks

1 Reply
Gysbert_Wassenaar

Use this tool: https://github.com/eapowertools/QlikSenseTask


talk is cheap, supply exceeds demand