<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Load at specific time interval and period in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Load-at-specific-time-interval-and-period/m-p/2539508#M109072</link>
    <description>&lt;P&gt;&lt;FONT&gt;&lt;FONT&gt;Vielen Dank euch beiden. &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT&gt;&lt;FONT&gt;Super Idee &lt;/FONT&gt;&lt;/FONT&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/137734"&gt;@HeshamKhja1&lt;/a&gt;&lt;FONT&gt;&lt;FONT&gt;! Die Lösung ist wirklich gut. Ich habe sie etwas angepasst, sodass das Skript im Zeitfenster zwischen 7 und 18 Uhr läuft.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;WENN Num(Now()) &amp;gt;= Num(Floor(Now()) + MakeTime(7,0,0)) UND Num(Now()) &amp;lt;= Num(Floor(Now()) + MakeTime(18,0,0)) DANN

    // RunCode like "CALL InvokeError('Running outside time interval')"

ANDERS
    EXIT SCRIPT;
ENDE WENN;&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 18 Dec 2025 13:23:40 GMT</pubDate>
    <dc:creator>reporting_neu</dc:creator>
    <dc:date>2025-12-18T13:23:40Z</dc:date>
    <item>
      <title>Load at specific time interval and period</title>
      <link>https://community.qlik.com/t5/App-Development/Load-at-specific-time-interval-and-period/m-p/2539503#M109069</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Qlik Sense Enterprise&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Hello,&lt;BR /&gt;I would like to create a task that loads an app every 10 minutes.&lt;BR /&gt;However, &lt;STRONG&gt;not all day long&lt;/STRONG&gt; -&amp;nbsp;only within a specific time window, for example from 8 a.m. to 6 p.m.&lt;/P&gt;&lt;P&gt;Is there a way to set this up? So far, I’ve only found the option to run it every 10 minutes continuously, or to run it once at specific times—but never repeatedly within a defined time range.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2025 09:37:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-at-specific-time-interval-and-period/m-p/2539503#M109069</guid>
      <dc:creator>reporting_neu</dc:creator>
      <dc:date>2025-12-18T09:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Load at specific time interval and period</title>
      <link>https://community.qlik.com/t5/App-Development/Load-at-specific-time-interval-and-period/m-p/2539505#M109070</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/125309"&gt;@reporting_neu&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Edit1: Removed incorrect information.&lt;/P&gt;&lt;P&gt;Edit2: Replaced Exit Script in code with a an error invoking code.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;One way to achieve your requirement, is by adding a code into the script to check the time and load if it is within the interval. Else, do not load by invoking an error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;E.g.&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Let vNow = Now()
If vNow &amp;gt;= (startpoint) and vNow &amp;lt;= (endpoint)
  RunCode
Else
  CALL InvokeError('Running outside time interval')
End If&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2025 13:01:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-at-specific-time-interval-and-period/m-p/2539505#M109070</guid>
      <dc:creator>HeshamKhja1</dc:creator>
      <dc:date>2025-12-18T13:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Load at specific time interval and period</title>
      <link>https://community.qlik.com/t5/App-Development/Load-at-specific-time-interval-and-period/m-p/2539506#M109071</link>
      <description>&lt;P&gt;For SaaS, this might help:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Qlik-Sense-Documents/Advanced-Scheduling-in-Qlik-Sense-Enterprise-SaaS/ta-p/1909094" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Sense-Documents/Advanced-Scheduling-in-Qlik-Sense-Enterprise-SaaS/ta-p/1909094&lt;/A&gt;&lt;/P&gt;&lt;P&gt;For Enterprise:&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense-admin/November2025/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Administer_QSEoW/Managing_QSEoW/reload-tasks-custom.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense-admin/November2025/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Administer_QSEoW/Managing_QSEoW/reload-tasks-custom.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2025 09:35:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-at-specific-time-interval-and-period/m-p/2539506#M109071</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2025-12-18T09:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: Load at specific time interval and period</title>
      <link>https://community.qlik.com/t5/App-Development/Load-at-specific-time-interval-and-period/m-p/2539508#M109072</link>
      <description>&lt;P&gt;&lt;FONT&gt;&lt;FONT&gt;Vielen Dank euch beiden. &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT&gt;&lt;FONT&gt;Super Idee &lt;/FONT&gt;&lt;/FONT&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/137734"&gt;@HeshamKhja1&lt;/a&gt;&lt;FONT&gt;&lt;FONT&gt;! Die Lösung ist wirklich gut. Ich habe sie etwas angepasst, sodass das Skript im Zeitfenster zwischen 7 und 18 Uhr läuft.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;WENN Num(Now()) &amp;gt;= Num(Floor(Now()) + MakeTime(7,0,0)) UND Num(Now()) &amp;lt;= Num(Floor(Now()) + MakeTime(18,0,0)) DANN

    // RunCode like "CALL InvokeError('Running outside time interval')"

ANDERS
    EXIT SCRIPT;
ENDE WENN;&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 18 Dec 2025 13:23:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-at-specific-time-interval-and-period/m-p/2539508#M109072</guid>
      <dc:creator>reporting_neu</dc:creator>
      <dc:date>2025-12-18T13:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: Load at specific time interval and period</title>
      <link>https://community.qlik.com/t5/App-Development/Load-at-specific-time-interval-and-period/m-p/2539509#M109073</link>
      <description>&lt;P&gt;Keep in mind that this still reloads the app. It just does so in a different manner (with different code running).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2025 10:08:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-at-specific-time-interval-and-period/m-p/2539509#M109073</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2025-12-18T10:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: Load at specific time interval and period</title>
      <link>https://community.qlik.com/t5/App-Development/Load-at-specific-time-interval-and-period/m-p/2539511#M109074</link>
      <description>&lt;P&gt;Exactly. It does run every 10 minutes, but if the condition isn’t met (because it’s outside the time window), the rest of the script is not executed, which prevents access to the databases.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2025 10:25:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-at-specific-time-interval-and-period/m-p/2539511#M109074</guid>
      <dc:creator>reporting_neu</dc:creator>
      <dc:date>2025-12-18T10:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: Load at specific time interval and period</title>
      <link>https://community.qlik.com/t5/App-Development/Load-at-specific-time-interval-and-period/m-p/2539514#M109075</link>
      <description>&lt;P&gt;And the app is then saved with no data... &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2025 10:58:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-at-specific-time-interval-and-period/m-p/2539514#M109075</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2025-12-18T10:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: Load at specific time interval and period</title>
      <link>https://community.qlik.com/t5/App-Development/Load-at-specific-time-interval-and-period/m-p/2539515#M109076</link>
      <description>&lt;P&gt;That needs to be taken into account. But we no longer need any data from that point on.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2025 12:31:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-at-specific-time-interval-and-period/m-p/2539515#M109076</guid>
      <dc:creator>reporting_neu</dc:creator>
      <dc:date>2025-12-18T12:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Load at specific time interval and period</title>
      <link>https://community.qlik.com/t5/App-Development/Load-at-specific-time-interval-and-period/m-p/2539538#M109081</link>
      <description>&lt;P&gt;True,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6142"&gt;@Or&lt;/a&gt;&amp;nbsp;solution is better. I did not know we have such control in QMC Tasks.&lt;/P&gt;&lt;P&gt;As for the app being saved with no data, we can invoke an error purposely by calling a non existing function rather than "Exit Script". Example: CALL InvokeError('Running outside time interval'). Then the app won't reload and the previous data will be maintained.&lt;/P&gt;&lt;P&gt;I edited my earlier reply to reflect this as well.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2025 13:02:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-at-specific-time-interval-and-period/m-p/2539538#M109081</guid>
      <dc:creator>HeshamKhja1</dc:creator>
      <dc:date>2025-12-18T13:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: Load at specific time interval and period</title>
      <link>https://community.qlik.com/t5/App-Development/Load-at-specific-time-interval-and-period/m-p/2539539#M109082</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Example&lt;/STRONG&gt;:&lt;BR /&gt;Mon - Sat every 10 minutes between 08:00 and &amp;lt; 18:00 (last run 17:50)&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create/open &lt;STRONG&gt;Task&lt;/STRONG&gt; (Reload task) -&amp;gt; Triggers -&amp;gt; Add -&amp;gt; Scheduled&lt;/LI&gt;&lt;LI&gt;Select the &lt;STRONG&gt;Custom&lt;/STRONG&gt; schedule option.&lt;/LI&gt;&lt;LI&gt;Set:&lt;STRONG&gt;&lt;BR /&gt;Custom increment:&lt;/STRONG&gt; 10 0 0 0 &lt;EM&gt;(10 minutes)&lt;BR /&gt;&lt;/EM&gt;&lt;STRONG&gt;Custom filter&amp;nbsp;&lt;/STRONG&gt;* 8-17 - 1-6 * * * *&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Explanation of the filter (positions):&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Pos 0 – Minute: * (any)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Pos 1 – Hour: 8–17&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Pos 2 – WeekDayPrefix: - (none)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Pos 3 – Weekday: 1–6 (Mon–Sat, Sun = 0)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Remaining positions: * (any)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Fri, 19 Dec 2025 07:32:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-at-specific-time-interval-and-period/m-p/2539539#M109082</guid>
      <dc:creator>reporting_neu</dc:creator>
      <dc:date>2025-12-19T07:32:41Z</dc:date>
    </item>
  </channel>
</rss>

