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: 
samuel_brierley
Creator
Creator

reload task not ending

Hi all,

i have the below line in a CMD file that i call from windows task manager. the task launches and runs ok, the document is saved but the Task doesnt end.

the same occurs if i run the file manually.

has anyone experienced this or is aware of a solution?

"C:\Program Files\QlikView\qv.exe" /R "C:\Users\samuel.brierley\Desktop\XXX\Download.qvw"

thanks

10 Replies
awhitfield
Partner - Champion
Partner - Champion

Hi Samuel,

have you got 'Generate Logfile' enabled for the qvw?

Andy

MayilVahanan

Hi Samuel,

The task doesn't end due to some of the following reasons

1. may be any cross join in ur application

2. Circular loop

3. Data size is very huge in any of the tables.

Please check your data model, is any cross join available or not

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Peter_Cammaert
Partner - Champion III
Partner - Champion III

Please post the CMD file in this thread.

If your QVW gets saved, this means that script execution has finished without errors.

Check Task Manager->Processes. Is Qv.exe still present in the list of running processes?

Best,

Peter

awhitfield
Partner - Champion
Partner - Champion

Looking again at this, it doesn't actually sounds like a Qlik issue though, more like an issue with your CMD file.

If you run it manually, do you see the script progress windows open, run the script and then close again?

Andy

sathishkumar_go
Partner - Specialist
Partner - Specialist

I will suggest, Generate the log file and check the log file has Reload task finished successfully

-Sathish

samuel_brierley
Creator
Creator
Author

Hi apologies for the late reply my son fell ill at work

anyway i agree that the issue is unlikely to be qlikview as the script runs fine i simply think im missing some form of end command at the end of my script.

samuel_brierley
Creator
Creator
Author

yes it is still running. is there a line within the command file to close the application?

awhitfield
Partner - Champion
Partner - Champion

Hi Sam,

just add Exit on the next line, should do the trick

Andy

samuel_brierley
Creator
Creator
Author

Hi Andy

unfortunately not, it would appear that my script isnt going any further than the first line. i think this is because the Qv.exe process is still running. i did try killing that task but that hasnt work because my code wont get past the first line.