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: 
Not applicable

Scheduling a Task twice in a day

Hello, I have to schedule a reload of my document twice a day, once at 6am and once at 3pm. Is there a way to set daily scheduling with two distinct time?

PS: I can't do it hourly

Thanks in advance!

Marcello.

5 Replies
flipside
Partner - Specialist II
Partner - Specialist II

Hi Marcello,

My preferred method would be to have a control application running hourly.  The only script this needs to run would be similar to this ...

  if match(hour(now()),6,15) then

   LET vResult='Fail';

   LOAD nonExistantField resident nonExistantTable;

  else

   LET vResult='Success';

  end if;

Now, set your actual document to run based on the control application failing.  When the control application succeeds, nothing happens.

Hope this helps

flipside

Not applicable
Author

Schedule two triggers one at 6am and other at 3pm.

Not applicable
Author

Thank you flipside! Until server doesn't support this feature i'll try with your clever solution.

Marcello.

Not applicable
Author

Thank you priyadarshini ,but i think i'm missing something. I can't figure out how to schedule two triggers for one document.

I'm running on qv server 10 (without publisher) and using QEMC.

Not applicable
Author

solution.png

You should be able to click on "+" to add new trigger. Let me know if you can