<?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>article Qlik Replicate: Repctl Stop Start Task using REPCTL command line interface in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Repctl-Stop-Start-Task-using-REPCTL-command-line/ta-p/1880971</link>
    <description>&lt;P&gt;The listed commands are unsupported by Qlik Replicate. The commands work, but Qlik cannot give a guarantee that they will continue to function in the future.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you do not have &lt;FONT color="#339966"&gt;&lt;STRONG&gt;Qlik Enterprise Manager (QEM)&lt;/STRONG&gt;&lt;/FONT&gt;, then this is the option to script task starts and stops. If you do have QEM please look into using the &lt;FONT color="#339966"&gt;&lt;STRONG&gt;restAPI&lt;/STRONG&gt; &lt;/FONT&gt;calls to do the same things. You can reference the QEM developer's guide for information on this API.&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;To note:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;UL class="lia-list-style-type-circle"&gt;
&lt;LI&gt;The repctl command is accessed from the directory &lt;FONT face="courier new,courier"&gt;\Attunity\replicate\bin&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Always run the command lines as Administrator.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;You can start the task multiple ways based on the following parameters and flags:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Parameters:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;1 = Start Full Load only &lt;BR /&gt;2 = Start Change Capture only &lt;BR /&gt;3 = Start Both&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Flags Values:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;0 = Resume &lt;BR /&gt;1 = Fresh Start (like starting as of now)&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Three commands to start a task, check task statuses, or stop tasks:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Start a task:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;PRE&gt;repctl connect; execute task_name 3 Flags=0; disconnect&lt;/PRE&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Get task status:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;PRE&gt;repctl connect; gettaskstatus task_name; disconnect&lt;/PRE&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Stop a task:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;PRE&gt;repctl connect; stoptask task_name; disconnect&lt;/PRE&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Notes:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;UL class="lia-list-style-type-circle"&gt;
&lt;LI&gt;When running a full load only task you may want to have the batch file wait until the load completes:&lt;BR /&gt;
&lt;PRE&gt;Repctl execute task=&amp;lt;task_name&amp;gt; 1 flags=1&lt;/PRE&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;When running these commands in a batch file (maintenance job) you will want to do the Stop command followed by a loop that checks the status of the task (until it does stop)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;The execute command may take up to several minutes to complete&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;To run the command on a remote replicate machine:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;PRE&gt;repctl connect ip=192.168.165.11 port=3552 ; stoptask task; disconnect&lt;/PRE&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;Alternate (non-default) data directories must be provided using &lt;FONT face="courier new,courier"&gt;-d &amp;lt;path&amp;gt;&lt;BR /&gt;&lt;/FONT&gt;Alternatively in Windows use: &lt;FONT face="courier new,courier"&gt;?set AREP_DATA=&amp;lt;path&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;If the Replicate data folder is on another location you would need to set the path for repctl.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider ed bdp bdq bdr bds bdt bdu bdv bdw bdx bdy bdz bea beb bec bed bee bef beg beh bei bej bek bel bem ben beo bep beq ber bes bet beu bev bew"&gt;Example:&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;repctl.exe&amp;nbsp; -d "E:\Attunity\Replicate\data" connect;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;To run this on &lt;STRONG&gt;Linux&lt;/STRONG&gt; you may need to add a back slash in front of the semi-colon:&lt;/P&gt;
&lt;PRE&gt;repctl connect\; gettaskstatus task_name\; disconnect&lt;/PRE&gt;
&lt;P&gt;In addition, while using Linux shell, you have to escape the semicolons with backslashes.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;PRE&gt;?./repctl connect\; gettaskstatus task_name\; disconnect&lt;/PRE&gt;
&lt;P&gt;Further note on usage: be certain to have blank space following the semi-colon command delimiter.&lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Environment&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;Qlik Replicate command line using repctl&lt;/LI&gt;
&lt;/UL&gt;
&lt;P style="font-style: italic;"&gt;The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Mar 2024 07:21:29 GMT</pubDate>
    <dc:creator>Michael_Litz</dc:creator>
    <dc:date>2024-03-07T07:21:29Z</dc:date>
    <item>
      <title>Qlik Replicate: Repctl Stop Start Task using REPCTL command line interface</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Repctl-Stop-Start-Task-using-REPCTL-command-line/ta-p/1880971</link>
      <description>&lt;P&gt;The listed commands are unsupported by Qlik Replicate. The commands work, but Qlik cannot give a guarantee that they will continue to function in the future.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you do not have &lt;FONT color="#339966"&gt;&lt;STRONG&gt;Qlik Enterprise Manager (QEM)&lt;/STRONG&gt;&lt;/FONT&gt;, then this is the option to script task starts and stops. If you do have QEM please look into using the &lt;FONT color="#339966"&gt;&lt;STRONG&gt;restAPI&lt;/STRONG&gt; &lt;/FONT&gt;calls to do the same things. You can reference the QEM developer's guide for information on this API.&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;To note:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;UL class="lia-list-style-type-circle"&gt;
&lt;LI&gt;The repctl command is accessed from the directory &lt;FONT face="courier new,courier"&gt;\Attunity\replicate\bin&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Always run the command lines as Administrator.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;You can start the task multiple ways based on the following parameters and flags:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Parameters:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;1 = Start Full Load only &lt;BR /&gt;2 = Start Change Capture only &lt;BR /&gt;3 = Start Both&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Flags Values:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;0 = Resume &lt;BR /&gt;1 = Fresh Start (like starting as of now)&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Three commands to start a task, check task statuses, or stop tasks:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Start a task:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;PRE&gt;repctl connect; execute task_name 3 Flags=0; disconnect&lt;/PRE&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Get task status:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;PRE&gt;repctl connect; gettaskstatus task_name; disconnect&lt;/PRE&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Stop a task:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;PRE&gt;repctl connect; stoptask task_name; disconnect&lt;/PRE&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Notes:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;UL class="lia-list-style-type-circle"&gt;
&lt;LI&gt;When running a full load only task you may want to have the batch file wait until the load completes:&lt;BR /&gt;
&lt;PRE&gt;Repctl execute task=&amp;lt;task_name&amp;gt; 1 flags=1&lt;/PRE&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;When running these commands in a batch file (maintenance job) you will want to do the Stop command followed by a loop that checks the status of the task (until it does stop)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;The execute command may take up to several minutes to complete&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;To run the command on a remote replicate machine:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;PRE&gt;repctl connect ip=192.168.165.11 port=3552 ; stoptask task; disconnect&lt;/PRE&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;Alternate (non-default) data directories must be provided using &lt;FONT face="courier new,courier"&gt;-d &amp;lt;path&amp;gt;&lt;BR /&gt;&lt;/FONT&gt;Alternatively in Windows use: &lt;FONT face="courier new,courier"&gt;?set AREP_DATA=&amp;lt;path&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;If the Replicate data folder is on another location you would need to set the path for repctl.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider ed bdp bdq bdr bds bdt bdu bdv bdw bdx bdy bdz bea beb bec bed bee bef beg beh bei bej bek bel bem ben beo bep beq ber bes bet beu bev bew"&gt;Example:&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;repctl.exe&amp;nbsp; -d "E:\Attunity\Replicate\data" connect;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;To run this on &lt;STRONG&gt;Linux&lt;/STRONG&gt; you may need to add a back slash in front of the semi-colon:&lt;/P&gt;
&lt;PRE&gt;repctl connect\; gettaskstatus task_name\; disconnect&lt;/PRE&gt;
&lt;P&gt;In addition, while using Linux shell, you have to escape the semicolons with backslashes.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;PRE&gt;?./repctl connect\; gettaskstatus task_name\; disconnect&lt;/PRE&gt;
&lt;P&gt;Further note on usage: be certain to have blank space following the semi-colon command delimiter.&lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Environment&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;Qlik Replicate command line using repctl&lt;/LI&gt;
&lt;/UL&gt;
&lt;P style="font-style: italic;"&gt;The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 07:21:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Repctl-Stop-Start-Task-using-REPCTL-command-line/ta-p/1880971</guid>
      <dc:creator>Michael_Litz</dc:creator>
      <dc:date>2024-03-07T07:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Replicate: Repctl Stop Start Task using REPCTL command line interface</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Repctl-Stop-Start-Task-using-REPCTL-command-line/tac-p/2444957#M13827</link>
      <description>&lt;P&gt;When using the repctl command to stop/start task is default port 3552?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2024 15:20:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Repctl-Stop-Start-Task-using-REPCTL-command-line/tac-p/2444957#M13827</guid>
      <dc:creator>humanadba</dc:creator>
      <dc:date>2024-04-25T15:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Replicate: Repctl Stop Start Task using REPCTL command line interface</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Repctl-Stop-Start-Task-using-REPCTL-command-line/tac-p/2445176#M13837</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/138007"&gt;@humanadba&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Qlik Replicate Console default port is&amp;nbsp;&lt;STRONG&gt;3552&lt;/STRONG&gt;, yes. See &lt;A href="https://help.qlik.com/en-US/replicate/Content/Replicate/Main/Installation/Access_Replicate_Remotely.htm#ar_installation_558397570_1689354" target="_blank" rel="noopener"&gt;Accessing Qlik Replicate from a remote computer&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;All the best,&lt;BR /&gt;Sonja&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 09:06:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Repctl-Stop-Start-Task-using-REPCTL-command-line/tac-p/2445176#M13837</guid>
      <dc:creator>Sonja_Bauernfeind</dc:creator>
      <dc:date>2024-04-26T09:06:38Z</dc:date>
    </item>
  </channel>
</rss>

