<?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: Can we set a task timeout value in Qlik Nprinting? in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/Can-we-set-a-task-timeout-value-in-Qlik-Nprinting/m-p/1933255#M36056</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/143183"&gt;@Congrid&lt;/a&gt;&amp;nbsp;that setting typically does it, keep in mind its a global timeout, how far past 5 minutes are tasks running?&lt;/P&gt;
&lt;P&gt;Did you restart your server ?&lt;/P&gt;</description>
    <pubDate>Thu, 19 May 2022 18:34:49 GMT</pubDate>
    <dc:creator>David_Friend</dc:creator>
    <dc:date>2022-05-19T18:34:49Z</dc:date>
    <item>
      <title>Can we set a task timeout value in Qlik Nprinting?</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Can-we-set-a-task-timeout-value-in-Qlik-Nprinting/m-p/1893547#M35120</link>
      <description>&lt;P&gt;We are having an issue where some task get hanged for days and after many such tasks accumulate over few days new tasks that start execution go into queued state. Even after we abort the hanged task they do not get aborted until NPrinting services are restarted.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So we want to avoid this issue by terminating any task that is running for more that 12 hours. We have similar option in Qlik Sense but I don't see anything like that in Qlik NPrinting.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there any global setting we can do to set this timeout?&lt;/P&gt;
&lt;P&gt;&lt;LI-PRODUCT title="Qlik NPrinting" id="qlikNPrinting"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 07:57:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Can-we-set-a-task-timeout-value-in-Qlik-Nprinting/m-p/1893547#M35120</guid>
      <dc:creator>Congrid</dc:creator>
      <dc:date>2022-02-16T07:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: Can we set a task timeout value in Qlik Nprinting?</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Can-we-set-a-task-timeout-value-in-Qlik-Nprinting/m-p/1893591#M35121</link>
      <description>&lt;P&gt;Hi, I can see 2 things here:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;being a band-aid - setting timeout on NPrinting task&lt;/LI&gt;
&lt;LI&gt;actual NPrinting tasks running for too long&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;I deal with timeout by using NPrinting API as this can be fully controlled and designed according to your needs. You can trigger task via API then you can measure how much time task takes and if&amp;nbsp; it takes longer than required time you can abort it. For that you can use following endpoints:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://help.qlik.com/en-US/nprinting/May2021/APIs/NP+API/index.html?page=57" target="_blank"&gt;https://help.qlik.com/en-US/nprinting/May2021/APIs/NP+API/index.html?page=57&lt;/A&gt;&amp;nbsp;- execute task&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://help.qlik.com/en-US/nprinting/May2021/APIs/NP+API/index.html?page=55" target="_blank"&gt;https://help.qlik.com/en-US/nprinting/May2021/APIs/NP+API/index.html?page=55&lt;/A&gt;&amp;nbsp; - check progres&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://help.qlik.com/en-US/nprinting/May2021/APIs/NP+API/index.html?page=56" target="_blank"&gt;https://help.qlik.com/en-US/nprinting/May2021/APIs/NP+API/index.html?page=56&lt;/A&gt;&amp;nbsp;- abort if takes too long&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;So thats that regarding timeout for a task.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would however first investigate why do your taks take so much time and would try to improve design, concept as well as Qlik Sense source apps so your tasks could be generated on time. That also would require hardware and environment check.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cheers&lt;/P&gt;
&lt;P&gt;Lech&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 08:46:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Can-we-set-a-task-timeout-value-in-Qlik-Nprinting/m-p/1893591#M35121</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2022-02-16T08:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: Can we set a task timeout value in Qlik Nprinting?</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Can-we-set-a-task-timeout-value-in-Qlik-Nprinting/m-p/1893600#M35122</link>
      <description>&lt;P&gt;Hi Lech,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your reply.&lt;/P&gt;
&lt;P&gt;Just to give you a background, we host a shared qlik sense and Qlik Nprinting platform where different teams work on. We do not control the development of the reports. For this long running task issue we have already reached out to the team to check and fix it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Our concern is we as admins want to put some failsafe at our end so such issues do not occur again.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So the option of API is not possible was us as the development teams setup the triggers themselves on Nprinting under publish tasks&lt;/P&gt;
&lt;P&gt;Please let me know if there is any global config level setting we can do for the task timeout.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Congrid Borges&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 08:59:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Can-we-set-a-task-timeout-value-in-Qlik-Nprinting/m-p/1893600#M35122</guid>
      <dc:creator>Congrid</dc:creator>
      <dc:date>2022-02-16T08:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: Can we set a task timeout value in Qlik Nprinting?</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Can-we-set-a-task-timeout-value-in-Qlik-Nprinting/m-p/1893677#M35126</link>
      <description>&lt;P&gt;There are settings in:&lt;/P&gt;
&lt;P&gt;C:\Program Files\NPrintingServer\NPrinting\Scheduler\scheduler.config&amp;nbsp;file&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lech_Miszkiewicz_0-1645012184319.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/72435i8B2822B4FE87AB64/image-size/large?v=v2&amp;amp;px=999" role="button" title="Lech_Miszkiewicz_0-1645012184319.png" alt="Lech_Miszkiewicz_0-1645012184319.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suggest to take a backup before making any changes to this file and I think restart of services is required for changes to be applied&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 11:50:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Can-we-set-a-task-timeout-value-in-Qlik-Nprinting/m-p/1893677#M35126</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2022-02-16T11:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can we set a task timeout value in Qlik Nprinting?</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Can-we-set-a-task-timeout-value-in-Qlik-Nprinting/m-p/1893772#M35128</link>
      <description>&lt;P&gt;Thank you Lech.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me try this setting.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 14:24:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Can-we-set-a-task-timeout-value-in-Qlik-Nprinting/m-p/1893772#M35128</guid>
      <dc:creator>Congrid</dc:creator>
      <dc:date>2022-02-16T14:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Can we set a task timeout value in Qlik Nprinting?</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Can-we-set-a-task-timeout-value-in-Qlik-Nprinting/m-p/1932863#M36047</link>
      <description>&lt;P&gt;Hi Lech,&lt;/P&gt;
&lt;P&gt;Changing these settings done seem to work.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I added the below tag in the scheduler.config file but task still keeps on running after 5 minutes.&lt;/P&gt;
&lt;P&gt;&amp;lt;add key="report-timeout-minutes" value="5" /&amp;gt;&lt;/P&gt;
&lt;P&gt;Anything else I should update?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Congrid&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 07:44:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Can-we-set-a-task-timeout-value-in-Qlik-Nprinting/m-p/1932863#M36047</guid>
      <dc:creator>Congrid</dc:creator>
      <dc:date>2022-05-19T07:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: Can we set a task timeout value in Qlik Nprinting?</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Can-we-set-a-task-timeout-value-in-Qlik-Nprinting/m-p/1933255#M36056</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/143183"&gt;@Congrid&lt;/a&gt;&amp;nbsp;that setting typically does it, keep in mind its a global timeout, how far past 5 minutes are tasks running?&lt;/P&gt;
&lt;P&gt;Did you restart your server ?&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 18:34:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Can-we-set-a-task-timeout-value-in-Qlik-Nprinting/m-p/1933255#M36056</guid>
      <dc:creator>David_Friend</dc:creator>
      <dc:date>2022-05-19T18:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Can we set a task timeout value in Qlik Nprinting?</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Can-we-set-a-task-timeout-value-in-Qlik-Nprinting/m-p/1939139#M36178</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/143183"&gt;@Congrid&lt;/a&gt;&amp;nbsp; any update on this?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2022 18:37:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Can-we-set-a-task-timeout-value-in-Qlik-Nprinting/m-p/1939139#M36178</guid>
      <dc:creator>David_Friend</dc:creator>
      <dc:date>2022-06-02T18:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Can we set a task timeout value in Qlik Nprinting?</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Can-we-set-a-task-timeout-value-in-Qlik-Nprinting/m-p/1939349#M36181</link>
      <description>&lt;P&gt;Hi David,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;No, that setting did not work.&lt;/P&gt;
&lt;P&gt;I found comment by&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48712"&gt;@Frank_S&lt;/a&gt;&amp;nbsp; who mentions&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;*The primary intention of these settings therefore is&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/U&gt;&lt;I&gt;&lt;STRONG&gt;&lt;U&gt;not&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/U&gt;&lt;/STRONG&gt;&lt;/I&gt;&lt;U&gt;to cause a 'fail' or 'abort' of any NPrinting executions but to allow valid, long running execution to complete.*&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I do not think this will work.&lt;/P&gt;
&lt;P&gt;This is the post.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-NPrinting-Discussions/NPrinting-Default-Report-Timeout/td-p/1913370" target="_blank"&gt;https://community.qlik.com/t5/Qlik-NPrinting-Discussions/NPrinting-Default-Report-Timeout/td-p/1913370&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if you have any other suggestions.&lt;/P&gt;
&lt;P&gt;-Congrid&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2022 09:15:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Can-we-set-a-task-timeout-value-in-Qlik-Nprinting/m-p/1939349#M36181</guid>
      <dc:creator>Congrid</dc:creator>
      <dc:date>2022-06-03T09:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: Can we set a task timeout value in Qlik Nprinting?</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Can-we-set-a-task-timeout-value-in-Qlik-Nprinting/m-p/1939377#M36182</link>
      <description>&lt;P&gt;Other option would be to use API to monitor task status and run time allowing for tasks reaching threshold to be aborted.&lt;/P&gt;
&lt;P&gt;cheers&lt;/P&gt;
&lt;P&gt;Lech&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2022 10:13:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Can-we-set-a-task-timeout-value-in-Qlik-Nprinting/m-p/1939377#M36182</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2022-06-03T10:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: Can we set a task timeout value in Qlik Nprinting?</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Can-we-set-a-task-timeout-value-in-Qlik-Nprinting/m-p/1939413#M36183</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/1326"&gt;@Lech_Miszkiewicz&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Do you have any script, tool already written which can serve this purpose?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Congrid&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2022 11:58:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Can-we-set-a-task-timeout-value-in-Qlik-Nprinting/m-p/1939413#M36183</guid>
      <dc:creator>Congrid</dc:creator>
      <dc:date>2022-06-03T11:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: Can we set a task timeout value in Qlik Nprinting?</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Can-we-set-a-task-timeout-value-in-Qlik-Nprinting/m-p/1939708#M36188</link>
      <description>&lt;P&gt;I do.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://nprintingadventures.com/2019/04/08/nprinting-api-qlik-rest-subroutines/" target="_blank"&gt;https://nprintingadventures.com/2019/04/08/nprinting-api-qlik-rest-subroutines/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;There is an example in those scripts where I am checking time of metadata reload. You could reuse the same principle to check generate report task time.&lt;/P&gt;
&lt;P&gt;Those scripts contain thousands lines of code so all I can suggest is to get familiar with it and get a full understanding of how those scripts work.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My solution is purely based on QlikView/Qlik Sense data load scripts. If you want to build your own solution please refer to&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/nprinting/May2022/Content/NPrinting/Extending/NPrinting-APIs-Reference-Redirect.htm" target="_blank"&gt;https://help.qlik.com/en-US/nprinting/May2022/Content/NPrinting/Extending/NPrinting-APIs-Reference-Redirect.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;cheers&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jun 2022 11:47:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Can-we-set-a-task-timeout-value-in-Qlik-Nprinting/m-p/1939708#M36188</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2022-06-05T11:47:21Z</dc:date>
    </item>
  </channel>
</rss>

