<?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 Call talend task from scripts - queston in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Call-talend-task-from-scripts-queston/m-p/2250582#M34784</link>
    <description>Hi, 
&lt;BR /&gt;I have a question about call task with metaServlet script: 
&lt;BR /&gt;when I run task from TAC, the task will immediately run without any delay.. that is good. 
&lt;BR /&gt;But when I run it using script as below: 
&lt;BR /&gt;MetaServletCaller.bat -url $TACUrl --json-params={""actionName"":""runTask"",""authPass"":""$passwordText"",""authUser"":""$username"",""mode"":""synchronous"",""taskId"":""$taskId""}&amp;nbsp; 
&lt;BR /&gt;to run task, it will always cost several minutes to Requesting running and then running... 
&lt;BR /&gt;can we skip requesting running step? 
&lt;BR /&gt;we have requirement to schedule the task to run every 2 minutes, will met problems because of this. 
&lt;BR /&gt;Please let me know if you have any thoughts.. 
&lt;BR /&gt;Thanks in advance!</description>
    <pubDate>Sun, 04 Jan 2015 09:16:17 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-01-04T09:16:17Z</dc:date>
    <item>
      <title>Call talend task from scripts - queston</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Call-talend-task-from-scripts-queston/m-p/2250582#M34784</link>
      <description>Hi, 
&lt;BR /&gt;I have a question about call task with metaServlet script: 
&lt;BR /&gt;when I run task from TAC, the task will immediately run without any delay.. that is good. 
&lt;BR /&gt;But when I run it using script as below: 
&lt;BR /&gt;MetaServletCaller.bat -url $TACUrl --json-params={""actionName"":""runTask"",""authPass"":""$passwordText"",""authUser"":""$username"",""mode"":""synchronous"",""taskId"":""$taskId""}&amp;nbsp; 
&lt;BR /&gt;to run task, it will always cost several minutes to Requesting running and then running... 
&lt;BR /&gt;can we skip requesting running step? 
&lt;BR /&gt;we have requirement to schedule the task to run every 2 minutes, will met problems because of this. 
&lt;BR /&gt;Please let me know if you have any thoughts.. 
&lt;BR /&gt;Thanks in advance!</description>
      <pubDate>Sun, 04 Jan 2015 09:16:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Call-talend-task-from-scripts-queston/m-p/2250582#M34784</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-04T09:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: Call talend task from scripts - queston</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Call-talend-task-from-scripts-queston/m-p/2250583#M34785</link>
      <description>What release do you run. In the release 5.4.2 I haven't seen this issue. I know this issue from older releases like 5.1.x.
&lt;BR /&gt;Perhaps you try to run the task asynchronously, this is what happened if you click on run in the TAC.
&lt;BR /&gt;If you have problems figuring out the task status you could use the custom component tRunTask from Talend Exchange - here this is solved.</description>
      <pubDate>Sun, 04 Jan 2015 15:13:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Call-talend-task-from-scripts-queston/m-p/2250583#M34785</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-04T15:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: Call talend task from scripts - queston</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Call-talend-task-from-scripts-queston/m-p/2250584#M34786</link>
      <description>thanks, 
&lt;B&gt;jlolling&lt;/B&gt;
&lt;BR /&gt;we are using 5.3.1.
&lt;BR /&gt;unfortunately, we&amp;nbsp;have run it using batch scripts to call job from outside because of the business logic....</description>
      <pubDate>Mon, 05 Jan 2015 06:12:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Call-talend-task-from-scripts-queston/m-p/2250584#M34786</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-05T06:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: Call talend task from scripts - queston</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Call-talend-task-from-scripts-queston/m-p/2250585#M34787</link>
      <description>I have similar requirements and thats because I created the component to call a task in the TAC from a Talend job which could also run in the TAC or simply is called by an external program. 
&lt;BR /&gt;Could you please test if you experiences the same delay if you use the asynchronous mode? 
&lt;BR /&gt;One way to solve such delays is to check the queries from the TAC to your TAC database. Sometimes the database lacks some essential indexes. I had to add some in the release 5.4.2 for execution plans to get them running fast. 
&lt;BR /&gt;It depends on your database. I suggest you make a call to the support because a delay in the minute range is far from normal.&amp;nbsp; 
&lt;BR /&gt;Please take also in account the refresh of the task view in the TAC web app is not very fast and far from being real time if the status is changed from outside the TAC.</description>
      <pubDate>Mon, 05 Jan 2015 06:39:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Call-talend-task-from-scripts-queston/m-p/2250585#M34787</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-05T06:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: Call talend task from scripts - queston</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Call-talend-task-from-scripts-queston/m-p/2250586#M34788</link>
      <description>Thanks! 
&lt;BR /&gt;Yes, I tested it with mode = asynchronous. no progress, and it brings more trouble... because we scheduled to call it every 2 minus, asynchronous will cause a lot of awaiting exec because of the delay. 
&lt;BR /&gt;we have 45 tasks which will be called from outside every 2 minus, maybe this will also cause this issue.. I can always see blocked status data in quartz table. 
&lt;BR /&gt;Anyway, we will call Talend Support for help. thank you.</description>
      <pubDate>Mon, 05 Jan 2015 07:01:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Call-talend-task-from-scripts-queston/m-p/2250586#M34788</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-05T07:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Call talend task from scripts - queston</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Call-talend-task-from-scripts-queston/m-p/2250587#M34789</link>
      <description>Yes of course it is not the solution in your design. It have seen sometimes differences here but anyway...&lt;BR /&gt;What about checking the statements fired from the TAC to the database (which database do you use here?).&amp;nbsp;</description>
      <pubDate>Mon, 05 Jan 2015 07:23:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Call-talend-task-from-scripts-queston/m-p/2250587#M34789</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-05T07:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: Call talend task from scripts - queston</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Call-talend-task-from-scripts-queston/m-p/2250588#M34790</link>
      <description>I am using sql server 2008.&lt;BR /&gt;what do you mean "What about checking the statements fired from the TAC to the database" ? I am not sure where to check..</description>
      <pubDate>Mon, 05 Jan 2015 09:27:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Call-talend-task-from-scripts-queston/m-p/2250588#M34790</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-05T09:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: Call talend task from scripts - queston</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Call-talend-task-from-scripts-queston/m-p/2250589#M34791</link>
      <description>I would use the Microsoft DB tools and check if some queries takes to long and need optimisation.
&lt;BR /&gt;I would check the statements which are in the top-10 of the most expensive statements on this database.</description>
      <pubDate>Mon, 05 Jan 2015 09:48:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Call-talend-task-from-scripts-queston/m-p/2250589#M34791</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-05T09:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: Call talend task from scripts - queston</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Call-talend-task-from-scripts-queston/m-p/2250590#M34792</link>
      <description>Oh, thanks, got the meaning. 
&lt;IMG id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://yutwg22796.i.lithium.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;</description>
      <pubDate>Wed, 07 Jan 2015 07:00:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Call-talend-task-from-scripts-queston/m-p/2250590#M34792</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-07T07:00:49Z</dc:date>
    </item>
  </channel>
</rss>

