<?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 to run Spatial ETL tool automatically in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/schedule-to-run-spatial-etl-tool-automatically/m-p/677407#M38370</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. I found this and I am trying to have a similar simple python script. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/message/36760"&gt;Schedule a Spatial ETL Tool&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Run your ETL tool and from the results window right click the result and copy it as a Python snippet.&lt;/P&gt;&lt;P&gt;Then create a standalone Python script that imports arcpy and imports the toolbox, before executing the snippet, like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import arcpy&lt;/P&gt;&lt;P&gt;arcpy.ImportToolBox(r'C:\Temp\NEARBug.gdb\NEARBug')&lt;/P&gt;&lt;P&gt;arcpy.SpatialETLTool("'C:/Work/Product Management/Loqate/Loqate.gdb'","geodatabase")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will let you know if this works for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 May 2015 18:53:07 GMT</pubDate>
    <dc:creator>SrijanaTuladhar</dc:creator>
    <dc:date>2015-05-14T18:53:07Z</dc:date>
    <item>
      <title>Schedule to run Spatial ETL tool automatically</title>
      <link>https://community.esri.com/t5/data-management-questions/schedule-to-run-spatial-etl-tool-automatically/m-p/677403#M38366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a ETL tool that transform our data into a different data model, I would like to run automatically on a weekly basis. Can I convert it to python script? Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 17:50:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/schedule-to-run-spatial-etl-tool-automatically/m-p/677403#M38366</guid>
      <dc:creator>SrijanaTuladhar</dc:creator>
      <dc:date>2015-05-14T17:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: Schedule to run Spatial ETL tool automatically</title>
      <link>https://community.esri.com/t5/data-management-questions/schedule-to-run-spatial-etl-tool-automatically/m-p/677404#M38367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've never tried myself, but wouldn't it be easier to just write something quick in Python that runs your existing tool, instead of trying to convert everything to Python?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 18:19:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/schedule-to-run-spatial-etl-tool-automatically/m-p/677404#M38367</guid>
      <dc:creator>ToddBlanchette</dc:creator>
      <dc:date>2015-05-14T18:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Schedule to run Spatial ETL tool automatically</title>
      <link>https://community.esri.com/t5/data-management-questions/schedule-to-run-spatial-etl-tool-automatically/m-p/677405#M38368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Absolutely and that is what I am trying to figure out. Thanks! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 18:29:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/schedule-to-run-spatial-etl-tool-automatically/m-p/677405#M38368</guid>
      <dc:creator>SrijanaTuladhar</dc:creator>
      <dc:date>2015-05-14T18:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Schedule to run Spatial ETL tool automatically</title>
      <link>https://community.esri.com/t5/data-management-questions/schedule-to-run-spatial-etl-tool-automatically/m-p/677406#M38369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does this help?&amp;nbsp; Not sure what flavour of Spatial ETL tools you're running.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://knowledge.safe.com/articles/Samples_and_Demos/Run-an-FME-Workspace-from-Python-using-FMEWorkspaceRunner" title="https://knowledge.safe.com/articles/Samples_and_Demos/Run-an-FME-Workspace-from-Python-using-FMEWorkspaceRunner"&gt;Run an FME Workspace from Python using FMEWorkspaceRunner | FME Samples and Demos&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once the Python is written, just have your Windows Task Scheduler call the Python file at whatever interval/time frame you choose.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 18:36:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/schedule-to-run-spatial-etl-tool-automatically/m-p/677406#M38369</guid>
      <dc:creator>ToddBlanchette</dc:creator>
      <dc:date>2015-05-14T18:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: Schedule to run Spatial ETL tool automatically</title>
      <link>https://community.esri.com/t5/data-management-questions/schedule-to-run-spatial-etl-tool-automatically/m-p/677407#M38370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. I found this and I am trying to have a similar simple python script. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/message/36760"&gt;Schedule a Spatial ETL Tool&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Run your ETL tool and from the results window right click the result and copy it as a Python snippet.&lt;/P&gt;&lt;P&gt;Then create a standalone Python script that imports arcpy and imports the toolbox, before executing the snippet, like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import arcpy&lt;/P&gt;&lt;P&gt;arcpy.ImportToolBox(r'C:\Temp\NEARBug.gdb\NEARBug')&lt;/P&gt;&lt;P&gt;arcpy.SpatialETLTool("'C:/Work/Product Management/Loqate/Loqate.gdb'","geodatabase")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will let you know if this works for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 18:53:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/schedule-to-run-spatial-etl-tool-automatically/m-p/677407#M38370</guid>
      <dc:creator>SrijanaTuladhar</dc:creator>
      <dc:date>2015-05-14T18:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: Schedule to run Spatial ETL tool automatically</title>
      <link>https://community.esri.com/t5/data-management-questions/schedule-to-run-spatial-etl-tool-automatically/m-p/677408#M38371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Be sure that you're running the 32 bit Python executable.&amp;nbsp; I have a batch file that calls this version, then my script like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C:/Python27/ArcGIS10.4/python.exe myscript.py&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise, I'd receive a "AttributeError: 'module' has no attribute when calling Spatial ETL tool" error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2017 04:40:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/schedule-to-run-spatial-etl-tool-automatically/m-p/677408#M38371</guid>
      <dc:creator>SteveSchunzel</dc:creator>
      <dc:date>2017-02-13T04:40:32Z</dc:date>
    </item>
  </channel>
</rss>

