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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Task of task scheduler can not open QV documents

Hi everyone,

i have a job, which is planned by task scheduler. What the job does is simply to open a QV document and do some filtering then export a table in Excel format. If i run the batch file that calls a vbs script, it works. But it just stays frozen while opening the document if run by task scheduler. This job worked before but now not anymore, can anyone give me some advices and tips? Thanks in advance.

12 Replies
jerrysvensson
Partner - Specialist II
Partner - Specialist II

Hi

We have seen a similar problem.

It is probably this line that fails :

Set ActiveDoc = Qv.OpenDoc ("D:\Entwicklung\test.qvw","","")

Check the policy for the user, does it have Log on as batch rights?

Not applicable
Author

Hi Jerry, thanks for your help. we have also tried running the vbscript by the task directly by defining "wscript.exe myvbs.vbs" as task by task scheduler, that does not work neither.

Not applicable
Author

I have asked our it colleague and the user acount we use has log on as batch job rights.