<?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: Schedule talend job using cron tab in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Schedule-talend-job-using-cron-tab/m-p/2369770#M132884</link>
    <description>&lt;P&gt;Hi Dijke,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply. i want to create dependency between two jobs&amp;nbsp; after success of one job only other job should execute otherwise should not execute.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you explain the command you posted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Jul 2018 15:13:17 GMT</pubDate>
    <dc:creator>karthik_T</dc:creator>
    <dc:date>2018-07-25T15:13:17Z</dc:date>
    <item>
      <title>Schedule talend job using cron tab</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Schedule-talend-job-using-cron-tab/m-p/2369768#M132882</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i want to schedule the talend job (.sh) file using cron tab by creating dependencies between jobs like after successful execution of one job only other job should execute. Can any one tell me how to do it.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jul 2018 13:41:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Schedule-talend-job-using-cron-tab/m-p/2369768#M132882</guid>
      <dc:creator>karthik_T</dc:creator>
      <dc:date>2018-07-25T13:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Schedule talend job using cron tab</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Schedule-talend-job-using-cron-tab/m-p/2369769#M132883</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Use this with nohup to start in background and return to your prompt:&lt;/P&gt; 
&lt;PRE&gt;nohup sh &amp;lt;yourjob&amp;gt;.sh --context_param acontextvariable1='2018-07-21' --context_param acontextvariable2='2018-07-21' --context_param acontextvariable3='clientstable' &amp;gt; /data/log/&amp;lt;yourlogfilename&amp;gt;.log 2&amp;gt;&amp;amp;1 &amp;lt;/dev/null &amp;amp;&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jul 2018 14:12:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Schedule-talend-job-using-cron-tab/m-p/2369769#M132883</guid>
      <dc:creator>Jesperrekuh</dc:creator>
      <dc:date>2018-07-25T14:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Schedule talend job using cron tab</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Schedule-talend-job-using-cron-tab/m-p/2369770#M132884</link>
      <description>&lt;P&gt;Hi Dijke,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply. i want to create dependency between two jobs&amp;nbsp; after success of one job only other job should execute otherwise should not execute.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you explain the command you posted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jul 2018 15:13:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Schedule-talend-job-using-cron-tab/m-p/2369770#M132884</guid>
      <dc:creator>karthik_T</dc:creator>
      <dc:date>2018-07-25T15:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: Schedule talend job using cron tab</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Schedule-talend-job-using-cron-tab/m-p/2369771#M132885</link>
      <description>I've already explained the command... 
&lt;BR /&gt;nohup -&amp;gt; background task 
&lt;BR /&gt;sh -&amp;gt; execute &amp;lt;yourjob&amp;gt;.sh 
&lt;BR /&gt;--context_param -&amp;gt; pass value to a context variable like cronStartDate='2018-07-21' 
&lt;BR /&gt;context vars you need to set in your job in order to pass your crontab parameters, in example your startdate and an enddate. 
&lt;BR /&gt;&amp;gt; /data/log/&amp;lt;yourlogfilename&amp;gt;.log 2&amp;gt;&amp;amp;1 &amp;amp; -&amp;gt; root stdout and error to a log file and return to unix prompt 
&lt;BR /&gt; 
&lt;BR /&gt;For understanding crontab (Cron Table), google it please to get a better understanding also to implement dependencies. 
&lt;BR /&gt; 
&lt;BR /&gt;However, a sidenote: I prefer to create my dependencies (provenance) in my job flow not with crontab. 
&lt;BR /&gt;And pass log events (tlogcatcher) to my elastic search environment and visualize it with Kibana. 
&lt;BR /&gt;The generated logfile (from above) is also picked up by logstash and inserted into eleastic search... 
&lt;BR /&gt; 
&lt;BR /&gt;Dont integrate to deeply with crontab... keep it at just triggering a job. But it highly depends on your daily operations and maintenance strategy/policy by your company. 
&lt;BR /&gt; 
&lt;BR /&gt;Look at ELK stack : ElasticSearch Logstash Kibana., not a scheduling tool and has nothing to do with it.</description>
      <pubDate>Wed, 25 Jul 2018 15:53:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Schedule-talend-job-using-cron-tab/m-p/2369771#M132885</guid>
      <dc:creator>Jesperrekuh</dc:creator>
      <dc:date>2018-07-25T15:53:00Z</dc:date>
    </item>
  </channel>
</rss>

