Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Nicole-Smith

Stop Task from Command Line (cmd.exe)

I've been able to successfully start my tasks in a QlikView document using command line and an execute command like the following:

EXECUTE cmd.exe /c \\$(vTaskServer)\QlikView\SourceDocuments\EDX\QMSEDX -task=$(vTaskName) -qms=$(vTaskQMS) -password=;

I'm running into some cases where I would like the ability to stop tasks in the same way.  Does anyone have any ideas?

3 Replies
Nicole-Smith
Author

Anybody?  I still haven't been able to figure this out.

marcus_sommer

Maybe you could adapt the approach from the attached vbs-batches which could be also executed from a qlikview-task like this example:

SET vCSCRIPT = 'c:\windows\system32\cscript.exe';

EXECUTE $(vCSCRIPT) "D:\OpenProtectExcelAndSaveUnprotect.vbs";

- Marcus

Nicole-Smith
Author

Thank you, Marcus.  I will look into this.