Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
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: 
PavelKas
Contributor III
Contributor III

Task chain schedule

Hello,

I have a Task chain consisting of two app - App A and App B. App B should start after App A is sucessfully executed.

But I don't want the App A (and B) to start every hour. I want them to start, let'say, at 7 AM and at 2 PM. In script of App A I put an "IF" section where I check if Hour(Now()) = 7 AM or 2 PM. If 'yes', a normal execution of the app and the task chain goes on. If 'no', I call a sensless Load statement like "Load * From xjsodb4et"  and the App A fails stopping the task chain.

Is there a more elegant and direct solution?

Thanks

Labels (2)
1 Solution

Accepted Solutions
3 Replies
Or
MVP
MVP

PavelKas
Contributor III
Contributor III
Author

Thank you! Indeed it works!

But maybe you know how to fix it in earlier Qlik Sense releases?

Or
MVP
MVP

I'm not aware of a more elegant general solution in earlier versions, though if you just need to run it twice daily, you could simply set up two separate once-a-day tasks at two different times.