<?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: Reload skript only between certain hours of a day in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Reload-skript-only-between-certain-hours-of-a-day/m-p/1285130#M623273</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;you could separate your load process to two apps&lt;/P&gt;&lt;P&gt;one will load data from the DB and save the tables to QVDs&lt;/P&gt;&lt;P&gt;second will apply your logic and will have the user interface&lt;/P&gt;&lt;P&gt;in the management console you define the first app to load every 30 minutes&lt;/P&gt;&lt;P&gt;and the second to start when the first finish.&lt;/P&gt;&lt;P&gt;now if you apply your rule to the first one it'll be empty but the second will always be with data&lt;/P&gt;&lt;P&gt;because it'll load the last updated QVDS&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Dec 2016 21:49:54 GMT</pubDate>
    <dc:creator>lironbaram</dc:creator>
    <dc:date>2016-12-19T21:49:54Z</dc:date>
    <item>
      <title>Reload skript only between certain hours of a day</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-skript-only-between-certain-hours-of-a-day/m-p/1285129#M623272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello fellow Qlik users,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am looking to a solution for the following Problem:&lt;/P&gt;&lt;P&gt;We use the Qlikview Server Management console to reload an application every 30 minutes.&lt;/P&gt;&lt;P&gt;This mean the Skript runs the whole day every 30 minutes.&lt;/P&gt;&lt;P&gt;My Goal is now to finda solution to only reload the Skript every 30 minutes between 06:00:00 and 18:00:00.&lt;/P&gt;&lt;P&gt;The reson behind this i dont want to actually Access our database when it is not needed. But during Business hours, the application should always have up to date data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far i tried the following solution. At the beginning of the script i have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(time(localtime())&amp;gt;='18:00:00' OR time(localtime())&amp;lt;='06:00:00') THEN&lt;/P&gt;&lt;P&gt;EXIT SCRIPT;&lt;/P&gt;&lt;P&gt;ENDIF;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rest of Skript...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SO far so good, but tee Problem now is the in the hours after 18:00 or before 06:00 the application is empty, because all the data gets deleted when the Skript doesnt run.&lt;/P&gt;&lt;P&gt;From time to time, some coworkers and myself will still Access the application, and i would be nice if the old data from the last real run of the Skript would still be there.&lt;/P&gt;&lt;P&gt;Is there a way to implement this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2016 21:31:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-skript-only-between-certain-hours-of-a-day/m-p/1285129#M623272</guid>
      <dc:creator>hbuchetmann</dc:creator>
      <dc:date>2016-12-19T21:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: Reload skript only between certain hours of a day</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-skript-only-between-certain-hours-of-a-day/m-p/1285130#M623273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;you could separate your load process to two apps&lt;/P&gt;&lt;P&gt;one will load data from the DB and save the tables to QVDs&lt;/P&gt;&lt;P&gt;second will apply your logic and will have the user interface&lt;/P&gt;&lt;P&gt;in the management console you define the first app to load every 30 minutes&lt;/P&gt;&lt;P&gt;and the second to start when the first finish.&lt;/P&gt;&lt;P&gt;now if you apply your rule to the first one it'll be empty but the second will always be with data&lt;/P&gt;&lt;P&gt;because it'll load the last updated QVDS&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2016 21:49:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-skript-only-between-certain-hours-of-a-day/m-p/1285130#M623273</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2016-12-19T21:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: Reload skript only between certain hours of a day</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-skript-only-between-certain-hours-of-a-day/m-p/1285131#M623274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Liron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and thank you for your tip. Good idea and from what i understand it could work. I will try to implement it tomorrow and see if it works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2016 22:36:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-skript-only-between-certain-hours-of-a-day/m-p/1285131#M623274</guid>
      <dc:creator>hbuchetmann</dc:creator>
      <dc:date>2016-12-19T22:36:27Z</dc:date>
    </item>
  </channel>
</rss>

