<?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 OnPremise - Starting a Job when a file is created on a folder in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/OnPremise-Starting-a-Job-when-a-file-is-created-on-a-folder/m-p/2470369#M140981</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have developed a Job that uses &lt;EM&gt;tWaitForFile&lt;/EM&gt; to execute a certain flow when a file is created in a predetermined folder. This Job will run permanently, "listening" for an action on a certain folder. No problems here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wonder if there is a way&amp;nbsp;to start a Job using TAC, with the same principle: the Job will start as soon as a file is created on a server folder. I wonder if there is some sort of trigger that will cause the Job to start when a file is created on a folder.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to avoid having to keep the Job running, waiting for a file. I want the Job to start only when a file is created on a folder as opposed to having the Job running all the time, "listening" for an action on a folder with the &lt;EM&gt;tWaitForFile&lt;/EM&gt; component.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is this possible? Can anyone help me?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;BR /&gt;Rui&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 12 Jul 2024 16:17:47 GMT</pubDate>
    <dc:creator>RMotta2408</dc:creator>
    <dc:date>2024-07-12T16:17:47Z</dc:date>
    <item>
      <title>OnPremise - Starting a Job when a file is created on a folder</title>
      <link>https://community.qlik.com/t5/Talend-Studio/OnPremise-Starting-a-Job-when-a-file-is-created-on-a-folder/m-p/2470369#M140981</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have developed a Job that uses &lt;EM&gt;tWaitForFile&lt;/EM&gt; to execute a certain flow when a file is created in a predetermined folder. This Job will run permanently, "listening" for an action on a certain folder. No problems here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wonder if there is a way&amp;nbsp;to start a Job using TAC, with the same principle: the Job will start as soon as a file is created on a server folder. I wonder if there is some sort of trigger that will cause the Job to start when a file is created on a folder.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to avoid having to keep the Job running, waiting for a file. I want the Job to start only when a file is created on a folder as opposed to having the Job running all the time, "listening" for an action on a folder with the &lt;EM&gt;tWaitForFile&lt;/EM&gt; component.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is this possible? Can anyone help me?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;BR /&gt;Rui&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2024 16:17:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/OnPremise-Starting-a-Job-when-a-file-is-created-on-a-folder/m-p/2470369#M140981</guid>
      <dc:creator>RMotta2408</dc:creator>
      <dc:date>2024-07-12T16:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: OnPremise - Starting a Job when a file is created on a folder</title>
      <link>https://community.qlik.com/t5/Talend-Studio/OnPremise-Starting-a-Job-when-a-file-is-created-on-a-folder/m-p/2470506#M140983</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;You can add a file trigger on TAC instead of using tWaitForFile component in a job to monitor a server's folder and trigger the task to execute when a file is created, for more details, please see&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.talend.com/en-US/administration-center-user-guide/8.0/how-to-add-file-trigger" target="_blank"&gt;https://help.talend.com/en-US/administration-center-user-guide/8.0/how-to-add-file-trigger&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Let me know if you have any questions.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Shicong&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jul 2024 15:25:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/OnPremise-Starting-a-Job-when-a-file-is-created-on-a-folder/m-p/2470506#M140983</guid>
      <dc:creator>Shicong_Hong</dc:creator>
      <dc:date>2024-07-13T15:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: OnPremise - Starting a Job when a file is created on a folder</title>
      <link>https://community.qlik.com/t5/Talend-Studio/OnPremise-Starting-a-Job-when-a-file-is-created-on-a-folder/m-p/2470511#M140984</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/257838"&gt;@Shicong_Hong&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thank you for being so helpful. It sure looks like exactly what I need.&lt;BR /&gt;&lt;BR /&gt;Is it possible to limit the number of Jobs run by this trigger, depending on the number of Jobs already running?&lt;BR /&gt;Let's imagine, for a second, the engine resources only allow for &lt;U&gt;5 Jobs&lt;/U&gt; to run simultaneously without hampering their performance. &lt;BR /&gt;So, when the trigger starts a Job, it will take this parameter into account so that there are not more than 5 Jobs running simultaneously. &lt;BR /&gt;I.e. if 4 Jobs are already running, the trigger will only start 1 Job and the remaining Jobs will be on standby, waiting for any of the running Jobs to finish.&lt;BR /&gt;&lt;BR /&gt;Is this possible?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Rui&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jul 2024 16:51:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/OnPremise-Starting-a-Job-when-a-file-is-created-on-a-folder/m-p/2470511#M140984</guid>
      <dc:creator>RMotta2408</dc:creator>
      <dc:date>2024-07-13T16:51:10Z</dc:date>
    </item>
  </channel>
</rss>

