<?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: Pause a failed task for some time period before kicking off again in Management &amp; Governance</title>
    <link>https://community.qlik.com/t5/Management-Governance/Pause-a-failed-task-for-some-time-period-before-kicking-off/m-p/1757658#M16862</link>
    <description>&lt;P&gt;Or simply start your load script with a 15 minute sleep and schedule the first run 15 minutes ahead of time. No nead for any error handling checking. Does not matter that the first run starts with a 15 minute sleep since the sleep should not put any load on the system.&lt;/P&gt;</description>
    <pubDate>Mon, 02 Nov 2020 07:51:00 GMT</pubDate>
    <dc:creator>Anders_Eriksson</dc:creator>
    <dc:date>2020-11-02T07:51:00Z</dc:date>
    <item>
      <title>Pause a failed task for some time period before kicking off again</title>
      <link>https://community.qlik.com/t5/Management-Governance/Pause-a-failed-task-for-some-time-period-before-kicking-off/m-p/1757567#M16857</link>
      <description>&lt;P&gt;I have a task that fails.&amp;nbsp; It is set to retry a number of times.&amp;nbsp; But the restarts happen immediately and the task ultimately fails.&lt;/P&gt;&lt;P&gt;Is there a way to say that if the task fails the first time wait 15 minutes before it tries again?&amp;nbsp; If it fails again wait 15 minutes again and so on until it can actually run.&amp;nbsp; The task fails because an upstream table is not available yet.&lt;/P&gt;&lt;P&gt;I saw something about a Pause task.&amp;nbsp; But could not find a good example of how to actually do that.&lt;/P&gt;&lt;P&gt;Any guidance would be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Sun, 01 Nov 2020 15:40:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Pause-a-failed-task-for-some-time-period-before-kicking-off/m-p/1757567#M16857</guid>
      <dc:creator>rittermd</dc:creator>
      <dc:date>2020-11-01T15:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Pause a failed task for some time period before kicking off again</title>
      <link>https://community.qlik.com/t5/Management-Governance/Pause-a-failed-task-for-some-time-period-before-kicking-off/m-p/1757575#M16858</link>
      <description>&lt;P&gt;How about using a combination of ErrorLevel and the sleep script function ?&lt;/P&gt;&lt;P&gt;You can test if a statement works and not abort the script but go into a 15 minute sleep and then re-try. I have used somthing similar to this for "tempermental" rest services.&lt;/P&gt;&lt;P&gt;Basically control the behaviour inside your script and only go back to the task / QMC environment after a certain number of attempts. You do not want to have an infinite loop &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 01 Nov 2020 20:32:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Pause-a-failed-task-for-some-time-period-before-kicking-off/m-p/1757575#M16858</guid>
      <dc:creator>AndrewMcIlwrick</dc:creator>
      <dc:date>2020-11-01T20:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Pause a failed task for some time period before kicking off again</title>
      <link>https://community.qlik.com/t5/Management-Governance/Pause-a-failed-task-for-some-time-period-before-kicking-off/m-p/1757658#M16862</link>
      <description>&lt;P&gt;Or simply start your load script with a 15 minute sleep and schedule the first run 15 minutes ahead of time. No nead for any error handling checking. Does not matter that the first run starts with a 15 minute sleep since the sleep should not put any load on the system.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 07:51:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Pause-a-failed-task-for-some-time-period-before-kicking-off/m-p/1757658#M16862</guid>
      <dc:creator>Anders_Eriksson</dc:creator>
      <dc:date>2020-11-02T07:51:00Z</dc:date>
    </item>
  </channel>
</rss>

