Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
jblomqvist
Specialist
Specialist

Help: Is there a way to stop a frequently reloading QlikView app during certain period of the day?

Dear all,

Is there a way to stop a reload task for a certain time of the day?

I have a published app that reloads every 30 minutes every day, and I would like it to stop reloading between 5am and 8am.

Is there a way to do this?

6 Replies
adamdavi3s
Master
Master

Assuming you are not using publisher?

If so then just add a cheeky little line in the top of your code which says something like (sorry if the syntax is slightly out)

if hour(now()) >5 and hour(now()) <8 then

exit script

end if

jblomqvist
Specialist
Specialist
Author

Hi Adam,

We have Publisher. Would that make it easier?

adamdavi3s
Master
Master

haha I think so yes, but I haven't used publisher myself but this thread should help

Scheduled Report in QlikView

jblomqvist
Specialist
Specialist
Author

How can I do that using the Publisher? Is there an example?

adamdavi3s
Master
Master

Sorry I thought that link had an example but it doesn't appear to have.

I'm afraid I will have to defer to someone else as I don't have experience in this area, hence why I use the above code, stalwar1‌ have you got publisher experience?

sunny_talwar

I would say create two tasks

1) Run only between 12:00 AM and 5 AM

2) Run only between 8:00 AM and 11:59 pm

Capture.PNG