<?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: [resolved] executing a Linux Job via Tsystem in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-executing-a-Linux-Job-via-Tsystem/m-p/2360920#M125403</link>
    <description>Hi&lt;BR /&gt;Got it. TIS 4.2 is not the newest version.&lt;BR /&gt;Don't worry. We have workaround to solve it.&lt;BR /&gt;Edit the command in tSystem as the following pattern.&lt;BR /&gt;new String[]{"/bin/bash","-c","cat /home/pedro/test &amp;gt;&amp;gt; /home/pedro/log"} &lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
    <pubDate>Fri, 11 May 2012 11:07:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-05-11T11:07:48Z</dc:date>
    <item>
      <title>[resolved] executing a Linux Job via Tsystem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-executing-a-Linux-Job-via-Tsystem/m-p/2360917#M125400</link>
      <description>Hello 
&lt;BR /&gt;we need to execute a Linux job using Talend 
&lt;BR /&gt;when we pass the commands below directly on the Linux server everything goes well: 
&lt;BR /&gt;su - openrate 
&lt;BR /&gt;/opt/AfmWS/bin/loadrefdata.sh /opt/ftproot/AFM_ProductsOffersSales_TEST &amp;gt;&amp;gt; /opt/AfmWS/logs/refdata-20120411.log 
&lt;BR /&gt;To execute these commands via Talend, we use the component TSystem. We set the LINUX server in the TARGET EXEC using the following command : 
&lt;BR /&gt;"sh /opt/AfmWS/bin/loadrefdata.sh \"/opt/ftproot/AFM_ProductsOffersSales_TEST\" &amp;gt;&amp;gt; \"/opt/AfmWS/logs/refdata-20120411.log\"" 
&lt;BR /&gt;At the execution, Talend returns no error but nothing happens on the server 
&lt;BR /&gt;To remove all problem JOB SERVER, we successfully executed the following command via the TSystem : 
&lt;BR /&gt;"etc/init.d/afmpricing stop" 
&lt;BR /&gt;For information we use a Linux CentOS 5.6 V 
&lt;BR /&gt;any help please?</description>
      <pubDate>Thu, 10 May 2012 16:10:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-executing-a-Linux-Job-via-Tsystem/m-p/2360917#M125400</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-10T16:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] executing a Linux Job via Tsystem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-executing-a-Linux-Job-via-Tsystem/m-p/2360918#M125401</link>
      <description>Hi&lt;BR /&gt;tSystem uses java.lang.Runtime.exex() method to execute linux command. And this is a well-known issue about pipes. Because '&amp;gt;&amp;gt;' is not an argument here.&lt;BR /&gt;So here is a workaround for "&amp;gt;&amp;gt;".&lt;BR /&gt;Besides, for your job, I think you can use two tSystem components here. One is to call JobName_run.sh.&lt;BR /&gt;The other is to do pipes.&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Fri, 11 May 2012 08:38:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-executing-a-Linux-Job-via-Tsystem/m-p/2360918#M125401</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-11T08:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] executing a Linux Job via Tsystem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-executing-a-Linux-Job-via-Tsystem/m-p/2360919#M125402</link>
      <description>Hi 
&lt;BR /&gt;Thanks for your answer 
&lt;BR /&gt;But in the TIS we have (version 4.2), we have no radio button "use array command" in the component TSYTEM. 
&lt;BR /&gt;how to modify the component? or how to bypass the probleme? 
&lt;BR /&gt;Thanks 
&lt;BR /&gt;atlas27</description>
      <pubDate>Fri, 11 May 2012 11:04:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-executing-a-Linux-Job-via-Tsystem/m-p/2360919#M125402</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-11T11:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] executing a Linux Job via Tsystem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-executing-a-Linux-Job-via-Tsystem/m-p/2360920#M125403</link>
      <description>Hi&lt;BR /&gt;Got it. TIS 4.2 is not the newest version.&lt;BR /&gt;Don't worry. We have workaround to solve it.&lt;BR /&gt;Edit the command in tSystem as the following pattern.&lt;BR /&gt;new String[]{"/bin/bash","-c","cat /home/pedro/test &amp;gt;&amp;gt; /home/pedro/log"} &lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Fri, 11 May 2012 11:07:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-executing-a-Linux-Job-via-Tsystem/m-p/2360920#M125403</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-11T11:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] executing a Linux Job via Tsystem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-executing-a-Linux-Job-via-Tsystem/m-p/2360921#M125404</link>
      <description>Hi,&lt;BR /&gt;Thanks for your help&lt;BR /&gt;we have resolved the problem with the following command in the component TSYSTEM (with cheking the radio button "use home directory" specify "\" in the directory )&lt;BR /&gt;new String[]{"opt/AfmWS/bin/loadrefdata.sh","/opt/ftproot/AFM_ProductsOffersSales_TEST"}&lt;BR /&gt;And we use a TFILEOUTPUTDELIMITED to recover the log file&lt;BR /&gt;Thanks&lt;BR /&gt;Best Regards&lt;BR /&gt;atlas27</description>
      <pubDate>Wed, 16 May 2012 16:58:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-executing-a-Linux-Job-via-Tsystem/m-p/2360921#M125404</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-16T16:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] executing a Linux Job via Tsystem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-executing-a-Linux-Job-via-Tsystem/m-p/2360922#M125405</link>
      <description>Hi Atlas27&lt;BR /&gt;Great. Thanks for your feedback.&lt;BR /&gt;Feel free to ask any question here.&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Thu, 17 May 2012 03:12:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-executing-a-Linux-Job-via-Tsystem/m-p/2360922#M125405</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-17T03:12:14Z</dc:date>
    </item>
  </channel>
</rss>

