<?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: How to restart a failed task in QMC console after 5 minutes in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-restart-a-failed-task-in-QMC-console-after-5-minutes/m-p/630757#M231499</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Marcel&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How about in Publisher creating a Supporting Task in the Pause Folder to Delay for 300 seconds that is triggered by the failure of your Task that then chains onto your Task again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know whether or not this will occupy a QV Engine during the pause though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Bill&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 May 2014 08:32:02 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-05-13T08:32:02Z</dc:date>
    <item>
      <title>How to restart a failed task in QMC console after 5 minutes</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-restart-a-failed-task-in-QMC-console-after-5-minutes/m-p/630754#M231496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to automatically restart a load task in the QMC console 5 minutes after the task has failed. How can I achieve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In "Task Execution Options" of trigger settings, I can define the "number of tries" together with a "timout in minutes" option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Increasing the "number of tries" does not help, as a retry is always started immediately after the task failure. This does not make sense in situations, where a database connectivity is temporarily not available and the task fails after just 2seconds of runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx for the help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 07:51:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-restart-a-failed-task-in-QMC-console-after-5-minutes/m-p/630754#M231496</guid>
      <dc:creator>hugmarcel</dc:creator>
      <dc:date>2014-05-13T07:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to restart a failed task in QMC console after 5 minutes</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-restart-a-failed-task-in-QMC-console-after-5-minutes/m-p/630755#M231497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Marcel&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the beginning of the load script you could put a &lt;EM&gt;sleep(300000)&lt;/EM&gt; to wait 5 minutes before getting into the real script in combination with &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;"number of tries"&lt;/SPAN&gt; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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 &lt;EM&gt;sleep&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Bill&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 08:00:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-restart-a-failed-task-in-QMC-console-after-5-minutes/m-p/630755#M231497</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-13T08:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to restart a failed task in QMC console after 5 minutes</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-restart-a-failed-task-in-QMC-console-after-5-minutes/m-p/630756#M231498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bill&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was thinking of this solution as well. It's a good Idea to control the sleep-execution with the help of variables!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the solution is causing further problems regarding Usage of QV engines in QMC console, as every sleep-execution blocks a QV engine. This will lead to errors such as "Error: Failed to create QlikView Engine.." as lots of simultanous tasks will be running.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you think of a solution that does not use / block QV engines...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx - Marcel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 08:14:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-restart-a-failed-task-in-QMC-console-after-5-minutes/m-p/630756#M231498</guid>
      <dc:creator>hugmarcel</dc:creator>
      <dc:date>2014-05-13T08:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to restart a failed task in QMC console after 5 minutes</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-restart-a-failed-task-in-QMC-console-after-5-minutes/m-p/630757#M231499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Marcel&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How about in Publisher creating a Supporting Task in the Pause Folder to Delay for 300 seconds that is triggered by the failure of your Task that then chains onto your Task again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know whether or not this will occupy a QV Engine during the pause though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Bill&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 08:32:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-restart-a-failed-task-in-QMC-console-after-5-minutes/m-p/630757#M231499</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-13T08:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to restart a failed task in QMC console after 5 minutes</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-restart-a-failed-task-in-QMC-console-after-5-minutes/m-p/630758#M231500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be you can use one of the option in errormode setting..many logical can use here depends on the purpose&lt;/P&gt;&lt;P&gt;or combine with variable..&lt;/P&gt;&lt;P&gt;or set the task every 5 minutes..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 08:35:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-restart-a-failed-task-in-QMC-console-after-5-minutes/m-p/630758#M231500</guid>
      <dc:creator />
      <dc:date>2014-05-13T08:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to restart a failed task in QMC console after 5 minutes</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-restart-a-failed-task-in-QMC-console-after-5-minutes/m-p/630759#M231501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bill&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;nice idea again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, we have approx. 50 load tasks running, and I do not like to create 50 additional supporting tasks :-).&lt;/P&gt;&lt;P&gt;Hm, maybe it's possible to have 1 pausing support task only which checks all the 50 load tasks?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would be nice to have a "task pausing" interval as a QMC trigger option. Using additional tasks will always increase complexity and administration work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 08:45:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-restart-a-failed-task-in-QMC-console-after-5-minutes/m-p/630759#M231501</guid>
      <dc:creator>hugmarcel</dc:creator>
      <dc:date>2014-05-13T08:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to restart a failed task in QMC console after 5 minutes</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-restart-a-failed-task-in-QMC-console-after-5-minutes/m-p/630760#M231502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have the same problem, and have resolved it with a programming process that will check the status of all the tasks, and reload the failed ones. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's a pretty simple process that can be setup to execute on any windows machine.&amp;nbsp; We have ours running just on my local desktop on a schedule (every 20 min).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see that you've marked this question as answered, but if you are interested in solving this problem with our solution, please contact me. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 15:44:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-restart-a-failed-task-in-QMC-console-after-5-minutes/m-p/630760#M231502</guid>
      <dc:creator />
      <dc:date>2014-05-13T15:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to restart a failed task in QMC console after 5 minutes</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-restart-a-failed-task-in-QMC-console-after-5-minutes/m-p/630761#M231503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for the reply, of course I am very interested to see what your solution is!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards - Marcel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 19:06:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-restart-a-failed-task-in-QMC-console-after-5-minutes/m-p/630761#M231503</guid>
      <dc:creator>hugmarcel</dc:creator>
      <dc:date>2014-05-13T19:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to restart a failed task in QMC console after 5 minutes</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-restart-a-failed-task-in-QMC-console-after-5-minutes/m-p/630762#M231504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I now use task dependency information to write a script that restarts failed and not executed QMC tasks by use of the QMSEDX interface.&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;Steps are:&lt;/P&gt;&lt;P&gt;1.) Create data model with task dependency information.&lt;BR /&gt;2.) Read todays Distribution Service task logfile to find failed and unexecuted tasks.&lt;BR /&gt;3.) Restart failed and unexecuted tasks, evaluate task dependency information!&lt;BR /&gt;4.) Send a QMC reload status sms.&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;You can execute all script tasks with Windows Task Scheduler. By setting a propper execution interval,&lt;BR /&gt;the QVS file allows you to track and restart QMC tasks in a very efficient and elegant way.&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;See in &lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-6665"&gt;http://community.qlik.com/docs/DOC-6665&lt;/A&gt;.&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;Marcel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 14:37:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-restart-a-failed-task-in-QMC-console-after-5-minutes/m-p/630762#M231504</guid>
      <dc:creator>hugmarcel</dc:creator>
      <dc:date>2014-05-27T14:37:52Z</dc:date>
    </item>
  </channel>
</rss>

