<?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: is it possible to run an ArcObjects add-in as a Windows scheduled task? in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/is-it-possible-to-run-an-arcobjects-add-in-as-a/m-p/703318#M4789</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it's an exe, I would check out &lt;A href="http://windows.microsoft.com/en-us/windows/schedule-task#1TC=windows-7" title="http://windows.microsoft.com/en-us/windows/schedule-task#1TC=windows-7"&gt;Schedule a task - Windows Help&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keep in mind some pitfalls others have encountered:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/81200"&gt;ArcObjects fail when running scheduled task&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Jan 2016 18:02:41 GMT</pubDate>
    <dc:creator>ChrisSmith7</dc:creator>
    <dc:date>2016-01-18T18:02:41Z</dc:date>
    <item>
      <title>is it possible to run an ArcObjects add-in as a Windows scheduled task?</title>
      <link>https://community.esri.com/t5/developers-questions/is-it-possible-to-run-an-arcobjects-add-in-as-a/m-p/703317#M4788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am writing because I am wondering if it is possible to run an ArcObjects .NET add-in as a Windows scheduled task.&lt;/P&gt;&lt;P&gt;I have written some code in VB.NET through ArcObjects and then I prepared the add-in using Visual Studio.&lt;/P&gt;&lt;P&gt;It works fine in ArcGIS desktop but now I need to run it automatically every night as a scheduled task.&lt;/P&gt;&lt;P&gt;I know that it is possible for Python scripts ... maybe wrapping the .NET add-in inside a Python script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrea Lugli (Italy)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2016 17:26:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/is-it-possible-to-run-an-arcobjects-add-in-as-a/m-p/703317#M4788</guid>
      <dc:creator>AndreaLugli</dc:creator>
      <dc:date>2016-01-18T17:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: is it possible to run an ArcObjects add-in as a Windows scheduled task?</title>
      <link>https://community.esri.com/t5/developers-questions/is-it-possible-to-run-an-arcobjects-add-in-as-a/m-p/703318#M4789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it's an exe, I would check out &lt;A href="http://windows.microsoft.com/en-us/windows/schedule-task#1TC=windows-7" title="http://windows.microsoft.com/en-us/windows/schedule-task#1TC=windows-7"&gt;Schedule a task - Windows Help&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keep in mind some pitfalls others have encountered:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/81200"&gt;ArcObjects fail when running scheduled task&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2016 18:02:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/is-it-possible-to-run-an-arcobjects-add-in-as-a/m-p/703318#M4789</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2016-01-18T18:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: is it possible to run an ArcObjects add-in as a Windows scheduled task?</title>
      <link>https://community.esri.com/t5/developers-questions/is-it-possible-to-run-an-arcobjects-add-in-as-a/m-p/703319#M4790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Technically yes...but it would make more sense to migrate your logic to a construct that would be easier to run headlessly, like a standalone console application (i.e. exe) or gp service. If you must run the logic as an addin then you'd need to write an additional application to automate driving a session of ArcMap so that you can get a hook into your addin content and interact with it as needed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following two pages would get you started.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Automating the ArcGIS Desktop Application&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/#/Automating_the_ArcGIS_Desktop_applications/0001000001nn000000/"&gt;http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/#/Automating_the_ArcGIS_Desktop_applications/0001000001nn000000/&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How to create an application to run on a schedule&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/index.html#//0001000002nt000000"&gt;http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/index.html#//0001000002nt000000&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2016 12:45:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/is-it-possible-to-run-an-arcobjects-add-in-as-a/m-p/703319#M4790</guid>
      <dc:creator>FreddieGibson</dc:creator>
      <dc:date>2016-01-19T12:45:33Z</dc:date>
    </item>
  </channel>
</rss>

