Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Issue while schedule the task in Task scheduler

Hi,

I am facing an issue. I have written a .bat file which is used to open the application, reload the application and save it.

It is working fine when we open the .bat file manually.

When i schedule this .bat file in Task Scheduler, it executed successfully first time and then it keeps on in running state. I have use the force stop option after 30 mins, but it is also not working.

When i see the related task in task manager Qv.exe is executing. Also temp file is going to create where my .bat file exists.

Please find the .bat file as below:

"C:\Program Files\QlikView\qv.exe" /r "D:\New Folder\Test Load.qvw"

Exit

VB Script:

set Qv = CreateObject("QlikTech.QlikView")

Qv.OpenDoc "D:\New Folder\Test Load.qvw"

Qv.ActiveDocument.GetApplication.Waitforidle

Qv.Quit

Could you please help me in this issue.

Regards,

Rohit

1 Reply
zhadrakas
Specialist II
Specialist II

please check the user that is running this bat file.

This happens if you are using an user who dont get a license leased.

To test this you can log on with that user and open QlikView Desktop.

If needed set up a license.

Regards

tim