Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
mhmmd_srf
Creator II
Creator II

Qlik Sense Task - Schedule Overlap

Hi All,

I have one Qlik Sense task schedule every 5 mins.

For any reason , if one schedule runs for more than 5 mins and by that time next schedule time pass. What will happens in this scenario?

 

Thanks,

MS

2 Solutions

Accepted Solutions
micheledenardi
Specialist II
Specialist II

I've created one app with this Sleep statement which pause the script, in this case for 1 hour.

2021-02-23 08_27_27-test _ Data load editor - Qlik Sense.png

 

Then i created a reload task which reload the app every 2 minutes to obtain an overlap:

2021-02-23 08_30_37-C__Users_denardm2_Desktop_2021-02-23 08_25_49-Tasks - QMC.png - Greenshot image .png

And the result is this:

2021-02-23 08_31_21-Tasks - QMC.png

So, if the task is still running at next execution time, the next execution will be skipped to the next one.

The skip will repeated till the task finish.

At the next free reload slot the trigger will restart the data refresh of your app.

Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.

View solution in original post

micheledenardi
Specialist II
Specialist II

You're right. 

I used Sleep function only as example.

Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.

View solution in original post

8 Replies
micheledenardi
Specialist II
Specialist II

I've created one app with this Sleep statement which pause the script, in this case for 1 hour.

2021-02-23 08_27_27-test _ Data load editor - Qlik Sense.png

 

Then i created a reload task which reload the app every 2 minutes to obtain an overlap:

2021-02-23 08_30_37-C__Users_denardm2_Desktop_2021-02-23 08_25_49-Tasks - QMC.png - Greenshot image .png

And the result is this:

2021-02-23 08_31_21-Tasks - QMC.png

So, if the task is still running at next execution time, the next execution will be skipped to the next one.

The skip will repeated till the task finish.

At the next free reload slot the trigger will restart the data refresh of your app.

Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.
mhmmd_srf
Creator II
Creator II
Author

So this skip is without SLEEP function or with SLEEP function?

micheledenardi
Specialist II
Specialist II

If the application is reloading at "next execution" time, the trigger will be skipped, regardless the script you're executing.

 

Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.
mhmmd_srf
Creator II
Creator II
Author

So it does not have any relation with SLEEP function. If my code do not have any SLEEP function. Then also the skip will happen. Is my understanding correct?

micheledenardi
Specialist II
Specialist II

You're right. 

I used Sleep function only as example.

Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.
mhmmd_srf
Creator II
Creator II
Author

thank u so much

micheledenardi
Specialist II
Specialist II

Please mark as correct my first answer, this one:

2021-02-23 13_59_08-Solved_ Re_ Qlik Sense Task - Schedule Overlap - Qlik Community - 1785007.png

Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.
mhmmd_srf
Creator II
Creator II
Author

done