<?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 scheduling replication in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/scheduling-replication/m-p/63221#M344</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am looking for a script example of running a nightly two-way replication synchronization.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Aug 2015 19:13:40 GMT</pubDate>
    <dc:creator>MarkHelmken1</dc:creator>
    <dc:date>2015-08-25T19:13:40Z</dc:date>
    <item>
      <title>scheduling replication</title>
      <link>https://community.esri.com/t5/developers-questions/scheduling-replication/m-p/63221#M344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am looking for a script example of running a nightly two-way replication synchronization.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 19:13:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/scheduling-replication/m-p/63221#M344</guid>
      <dc:creator>MarkHelmken1</dc:creator>
      <dc:date>2015-08-25T19:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: scheduling replication</title>
      <link>https://community.esri.com/t5/developers-questions/scheduling-replication/m-p/63222#M345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;# Import arcpy module
import arcpy


# Local variables:
parent_gdb = "Database Connections\\Parent.sde"
child_gdb = "Database Connections\\Child.sde"


# Process: Synchronize Changes
arcpy.SynchronizeChanges_management(parent_gdb, "DBO.rep_name", child_gdb, "BOTH_DIRECTIONS", "IN_FAVOR_OF_GDB1", "BY_OBJECT", "DO_NOT_RECONCILE")



&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a very basic sample. In case you are not sure, you can use the Model Builder to populate the tool and the parameters, and then export that as a Python script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/space/2050" target="_blank"&gt;Managing Data&lt;/A&gt;​ &lt;A href="https://community.esri.com/group/1680" target="_blank"&gt;Geodatabase&lt;/A&gt;​ &lt;A href="https://community.esri.com/space/2053" target="_blank"&gt;Enterprise GIS&lt;/A&gt;​ &lt;A href="https://community.esri.com/group/1519" target="_blank"&gt;python snippets&lt;/A&gt;​&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 22:25:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/scheduling-replication/m-p/63222#M345</guid>
      <dc:creator>AsrujitSengupta</dc:creator>
      <dc:date>2021-12-10T22:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: scheduling replication</title>
      <link>https://community.esri.com/t5/developers-questions/scheduling-replication/m-p/63223#M346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much. We are trying to start out simple.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 17:07:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/scheduling-replication/m-p/63223#M346</guid>
      <dc:creator>MarkHelmken1</dc:creator>
      <dc:date>2015-08-27T17:07:16Z</dc:date>
    </item>
  </channel>
</rss>

