<?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: qlikview failed tasks re-run after pause in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/qlikview-failed-tasks-re-run-after-pause/m-p/1815384#M1245975</link>
    <description>&lt;P&gt;My suggestion could be used as a general solution. Such logics might be developed in a modular and cascading way maybe in outsourced sub-routines and in each application loaded per include-variables and general called or with some specialized parameter.&lt;/P&gt;&lt;P&gt;The more applications exists and the higher the complexity and by the requirement of a permanent availability of the environment you will need some own efforts to check the connections, network/storage, sources and the data and implement a more or less sophisticated error-handling. Further needed is a carefully monitoring of the task- and document-logging because you need to know the errors before you could fetch them with any logics.&lt;/P&gt;&lt;P&gt;In your case your issues may more come from too many parallel tasks which may try to access the same sources at the same time and blocking each other and/or the applied settings aren't really suitable for your scenario - in regard to the number of parallel tasks, how they are queued, with which timeouts and similar things …&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
    <pubDate>Wed, 16 Jun 2021 07:09:42 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2021-06-16T07:09:42Z</dc:date>
    <item>
      <title>qlikview failed tasks re-run after pause</title>
      <link>https://community.qlik.com/t5/QlikView/qlikview-failed-tasks-re-run-after-pause/m-p/1815127#M1245954</link>
      <description>&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;We have several QlikView tasks at our end. The tasks fails due to some network or connectivity issues and we have to restart them manually every time.&lt;/P&gt;&lt;P&gt;I am trying to use the option No. of Tries = 2 but the task is getting started immediately without any delay. I created a pause task and it ran after 2 retries.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need a solution where if the task fails, it should wait for 1 min and then to retry the same failed task. Upon success it should go to the subsequent tasks.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/qlikview-failed-tasks-re-run-after-pause/m-p/1815127#M1245954</guid>
      <dc:creator>krishnajamylavarapu16</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: qlikview failed tasks re-run after pause</title>
      <link>https://community.qlik.com/t5/QlikView/qlikview-failed-tasks-re-run-after-pause/m-p/1815170#M1245958</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/124914"&gt;@krishnajamylavarapu16&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;At the beginning of the load script you could put a&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;sleep(100000)&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;to wait 1 minute before getting into the real script in combination with&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"number of tries"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 11:22:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/qlikview-failed-tasks-re-run-after-pause/m-p/1815170#M1245958</guid>
      <dc:creator>Lucas_Gatling</dc:creator>
      <dc:date>2021-06-15T11:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: qlikview failed tasks re-run after pause</title>
      <link>https://community.qlik.com/t5/QlikView/qlikview-failed-tasks-re-run-after-pause/m-p/1815174#M1245960</link>
      <description>&lt;P&gt;I have read in some posts in the community which have stated that using sleep function&amp;nbsp;&lt;SPAN&gt;blocks a QV engine. We may have other tasks which are running at the same time. Then there will no more number of failures.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do we have any option to use Sleep function based on a variable value. The variable should have the Last reload date time and if the current reload and last reload date time is &amp;gt; 1 day, the sleep should not execute and if not sleep should execute.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 11:29:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/qlikview-failed-tasks-re-run-after-pause/m-p/1815174#M1245960</guid>
      <dc:creator>krishnajamylavarapu16</dc:creator>
      <dc:date>2021-06-15T11:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: qlikview failed tasks re-run after pause</title>
      <link>https://community.qlik.com/t5/QlikView/qlikview-failed-tasks-re-run-after-pause/m-p/1815175#M1245963</link>
      <description>&lt;P&gt;&lt;SPAN&gt;You could have some variables so that it could check when it was last run, so if say it was last run over an hour ago it skips the&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;sleep&lt;/EM&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 11:31:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/qlikview-failed-tasks-re-run-after-pause/m-p/1815175#M1245963</guid>
      <dc:creator>Lucas_Gatling</dc:creator>
      <dc:date>2021-06-15T11:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: qlikview failed tasks re-run after pause</title>
      <link>https://community.qlik.com/t5/QlikView/qlikview-failed-tasks-re-run-after-pause/m-p/1815176#M1245965</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I have read in some posts in the community which have stated that using sleep function&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;blocks a QV engine. We may have other tasks which are running at the same time. Then there will no more number of failures. We don't want this.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 11:34:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/qlikview-failed-tasks-re-run-after-pause/m-p/1815176#M1245965</guid>
      <dc:creator>krishnajamylavarapu16</dc:creator>
      <dc:date>2021-06-15T11:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: qlikview failed tasks re-run after pause</title>
      <link>https://community.qlik.com/t5/QlikView/qlikview-failed-tasks-re-run-after-pause/m-p/1815205#M1245967</link>
      <description>&lt;P&gt;AFAIK sleep paused only the current task and not any parallel tasks. By multiplen sleep-statements in parallel running tasks it may have an impact in regard which tasks might be queued but this depends mainly on the number of available cores and the appropriate qmc-settings and should be rather negligibly because parallel running tasks will compete to the available resources and too many of them will force the OS to jump between the handles of those tasks each time with some latency costs - so it might take longer as running them more serial.&lt;/P&gt;&lt;P&gt;Beside this you may make the sleep more dynamic by choosing shorter times within some loops which may iterate 10 times and adding each time a few second more to the sleep or something similar. Thinkable is also to integrate various checks - connection successful, file exists, data are current and so on - within such a loop- and/or-if-logic maybe also with ERRORMODE.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 13:06:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/qlikview-failed-tasks-re-run-after-pause/m-p/1815205#M1245967</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-06-15T13:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: qlikview failed tasks re-run after pause</title>
      <link>https://community.qlik.com/t5/QlikView/qlikview-failed-tasks-re-run-after-pause/m-p/1815224#M1245969</link>
      <description>&lt;P&gt;Thanks for your inputs Marcus.&lt;/P&gt;&lt;P&gt;Could you please help me with the code to be used as per Lucas comment - '&lt;SPAN&gt;You could have some variables so that it could check when it was last run, so if say it was last run over an hour ago it skips the&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;sleep&lt;/EM&gt;&lt;SPAN&gt;.'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 13:47:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/qlikview-failed-tasks-re-run-after-pause/m-p/1815224#M1245969</guid>
      <dc:creator>krishnajamylavarapu16</dc:creator>
      <dc:date>2021-06-15T13:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: qlikview failed tasks re-run after pause</title>
      <link>https://community.qlik.com/t5/QlikView/qlikview-failed-tasks-re-run-after-pause/m-p/1815249#M1245971</link>
      <description>&lt;P&gt;Does the reload fail in the script because it cant connect to data sources?&lt;/P&gt;&lt;P&gt;If you put in the sleep in the script there are still no guarantee that there are connectivity at that point either.&lt;/P&gt;&lt;P&gt;You could put number of retires to a higher number unless the connectivity issues are long.&lt;/P&gt;&lt;P&gt;&amp;nbsp;If this is an issue that occurs often, the only real solution would be to actually fix the network issues.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 14:25:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/qlikview-failed-tasks-re-run-after-pause/m-p/1815249#M1245971</guid>
      <dc:creator>Maria_Halley</dc:creator>
      <dc:date>2021-06-15T14:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: qlikview failed tasks re-run after pause</title>
      <link>https://community.qlik.com/t5/QlikView/qlikview-failed-tasks-re-run-after-pause/m-p/1815266#M1245972</link>
      <description>&lt;P&gt;I'm not sure if the last successful execution-time will be needed in this case and if if it would be helpful to use for it variables because if the execution breaks with a script-error no changed variable-value would be saved. Of course you may bypass this with the ERRORMODE but this may lead to other disadvantages.&lt;/P&gt;&lt;P&gt;IMO better and more practicably is to store such information within files and to read them again if needed. I use such logic to set various parameter for another batches or Excel files, for example:&lt;/P&gt;&lt;P&gt;t: load 'run' as RUN AutoGenerate 0; store t into t.txt (txt);&lt;/P&gt;&lt;P&gt;Any information which is helpful for your task might be stored in a similar way.&lt;/P&gt;&lt;P&gt;Whereby in your case I would rather tend to logics like the following:&lt;/P&gt;&lt;P&gt;for i = 1 to 10&lt;BR /&gt;&amp;nbsp; &amp;nbsp;if filesize('path\file') &amp;gt; 0 then&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; … your statements …;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; exit for;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;else&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; sleep 10000 * $(i)&lt;BR /&gt;&amp;nbsp; &amp;nbsp;end if&lt;BR /&gt;next&lt;/P&gt;&lt;P&gt;to check if the network is there or not.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 14:42:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/qlikview-failed-tasks-re-run-after-pause/m-p/1815266#M1245972</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-06-15T14:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: qlikview failed tasks re-run after pause</title>
      <link>https://community.qlik.com/t5/QlikView/qlikview-failed-tasks-re-run-after-pause/m-p/1815300#M1245973</link>
      <description>&lt;P&gt;Do you have the problem only with one task or do you need a general solution for most of the tasks?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 15:54:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/qlikview-failed-tasks-re-run-after-pause/m-p/1815300#M1245973</guid>
      <dc:creator>cwolf</dc:creator>
      <dc:date>2021-06-15T15:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: qlikview failed tasks re-run after pause</title>
      <link>https://community.qlik.com/t5/QlikView/qlikview-failed-tasks-re-run-after-pause/m-p/1815369#M1245974</link>
      <description>&lt;P&gt;We have more than 50 tasks. Every time when we receive the error, the re-run resolves it. So, we need a general solution for this.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 04:29:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/qlikview-failed-tasks-re-run-after-pause/m-p/1815369#M1245974</guid>
      <dc:creator>krishnajamylavarapu16</dc:creator>
      <dc:date>2021-06-16T04:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: qlikview failed tasks re-run after pause</title>
      <link>https://community.qlik.com/t5/QlikView/qlikview-failed-tasks-re-run-after-pause/m-p/1815384#M1245975</link>
      <description>&lt;P&gt;My suggestion could be used as a general solution. Such logics might be developed in a modular and cascading way maybe in outsourced sub-routines and in each application loaded per include-variables and general called or with some specialized parameter.&lt;/P&gt;&lt;P&gt;The more applications exists and the higher the complexity and by the requirement of a permanent availability of the environment you will need some own efforts to check the connections, network/storage, sources and the data and implement a more or less sophisticated error-handling. Further needed is a carefully monitoring of the task- and document-logging because you need to know the errors before you could fetch them with any logics.&lt;/P&gt;&lt;P&gt;In your case your issues may more come from too many parallel tasks which may try to access the same sources at the same time and blocking each other and/or the applied settings aren't really suitable for your scenario - in regard to the number of parallel tasks, how they are queued, with which timeouts and similar things …&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 07:09:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/qlikview-failed-tasks-re-run-after-pause/m-p/1815384#M1245975</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-06-16T07:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: qlikview failed tasks re-run after pause</title>
      <link>https://community.qlik.com/t5/QlikView/qlikview-failed-tasks-re-run-after-pause/m-p/1815387#M1245976</link>
      <description>&lt;P&gt;Since I had the same problem, I built my own "Task Watcher" as a Windows service that uses the QMS API to restart failed tasks after a defined period of time.&lt;/P&gt;&lt;P&gt;I've been using the program reliably for 7 years.&lt;/P&gt;&lt;P&gt;The current version is based on .NET 4.8 and works for QlikView 12.10 or higher. Installation and configuration are easy (admin rights are required).&lt;/P&gt;&lt;P&gt;Let me know if you are interested.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 07:21:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/qlikview-failed-tasks-re-run-after-pause/m-p/1815387#M1245976</guid>
      <dc:creator>cwolf</dc:creator>
      <dc:date>2021-06-16T07:21:32Z</dc:date>
    </item>
  </channel>
</rss>

