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: 
paulm
Contributor III
Contributor III

Reloading same document at different intervals

Hi,

I have looked around, and surpirsed this has not come up before.  Maybe I am using the wrong key words...

Is it possible to reload the same document at different times through the server?  I am trying to run the same document at 8pm and 6.30am. Is there a way to schedule this?

I am just using QlikView Server, not publisher.

Thanks
Paul

1 Solution

Accepted Solutions
Miguel_Angel_Baeyens

Hi Paul,

Yes, you can always create two tasks, daily, one for each time of the day.

Hope that helps.

Miguel

View solution in original post

8 Replies
Miguel_Angel_Baeyens

Hi Paul,

Yes, you can always create two tasks, daily, one for each time of the day.

Hope that helps.

Miguel

flipside
Partner - Specialist II
Partner - Specialist II

Hi Paul,

I use a "Control" .qvw document to manage my multiple and infrequent reloads. I set the control document to reload every hour or half-hour and in the script check the time. If the script is true, then force the control document to FAIL by using something like this ...

If (hour(now()) = 20 and minute(now()) <= 30) or (hour(now()) =6 and minute(now()) >= 30) then

     Load nonexistant field from nonexistant table;

EndIf;

When the if statement is false, the control document succeeds, but when it is true it fails. You then set up your target document to run on the failure state of the control document. It's important to synchronise your scheduling (eg if you had your control document running every 5 minutes, the target document will refresh too often).

Hope this helps.

flipside

paulm
Contributor III
Contributor III
Author

HI,

I assume Miguel meant create a new task by remounting the folder. (only way I know how to create a new task)  I was able to mount the same folder. System;Setup;Management Service;QlikView Servers;QVS@Server Name; Folders.

This created a new task which I was able to reload.

Thanks you for everyone's help.

Paul

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Does remounting the folder cause the document to show up twice in Access Point?

-Rob

paulm
Contributor III
Contributor III
Author

HI Rob,

I have set it to non-browsable as it is not something the customers needed to see.  When I did make it browsable it showed up twice. 

Is there any other way of making two tasks and this not happening?

ThanksPaul

Not applicable

schedule one using QMC and the other one using windows batch file

paulm
Contributor III
Contributor III
Author

HI Qlik_techie,

My only concern with that is we do not have any thing monitoring the logs at present, so we use the GUI within QMC to check if everything ran successfully.  At present we are having a similar problem to this case:

http://community.qlik.com/thread/19097

So it is something we would like to keep on top of.

Though if there is a way to highlight it within the QMC that would be great?

Thanks

Paul

Not applicable

if u want to see the logs...just check the option Generate Log file in the Document Properties---->General tab

it will be generated in both the cases...

ok ?