<?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 a custom GP tool in Pro? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/schedule-a-custom-gp-tool-in-pro/m-p/1349991#M69245</link>
    <description>&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/analysis/geoprocessing/basics/schedule-geoprocessing-tools.htm" target="_blank"&gt;Schedule geoprocessing tools—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;user type? sign me in automatically?&lt;/P&gt;&lt;P&gt;assuming you are following this&lt;/P&gt;</description>
    <pubDate>Wed, 15 Nov 2023 21:46:20 GMT</pubDate>
    <dc:creator>DanPatterson</dc:creator>
    <dc:date>2023-11-15T21:46:20Z</dc:date>
    <item>
      <title>Schedule a custom GP tool in Pro?</title>
      <link>https://community.esri.com/t5/python-questions/schedule-a-custom-gp-tool-in-pro/m-p/1349982#M69244</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to schedule a few custom geoprocessing tools I recently developed in Python to run overnight in ArcGIS Pro (I have tried in both 3.0 and 3.1). I enter the parameters for the tool and set up the execution schedule in the Geoprocessing pane, and I can then see them in the History pane under 'Scheduled Tools'. The problem is, when the time comes when the scheduled tools are supposed to run, nothing happens - it just sits there, status showing as Active, but does not actually run. When I test the scheduling of a built-in GP tool like Buffer, it executes on schedule just fine. Has anyone else come across this problem? Is it not possible to schedule a GP tool from a custom toolbox? I have confirmed the script to be working as it should when I run it in real time. Any help would be appreciated, thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2023 21:32:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/schedule-a-custom-gp-tool-in-pro/m-p/1349982#M69244</guid>
      <dc:creator>gkanazawa_Mpls</dc:creator>
      <dc:date>2023-11-15T21:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: Schedule a custom GP tool in Pro?</title>
      <link>https://community.esri.com/t5/python-questions/schedule-a-custom-gp-tool-in-pro/m-p/1349991#M69245</link>
      <description>&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/analysis/geoprocessing/basics/schedule-geoprocessing-tools.htm" target="_blank"&gt;Schedule geoprocessing tools—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;user type? sign me in automatically?&lt;/P&gt;&lt;P&gt;assuming you are following this&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2023 21:46:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/schedule-a-custom-gp-tool-in-pro/m-p/1349991#M69245</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2023-11-15T21:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Schedule a custom GP tool in Pro?</title>
      <link>https://community.esri.com/t5/python-questions/schedule-a-custom-gp-tool-in-pro/m-p/1349999#M69246</link>
      <description>&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/analysis/geoprocessing/basics/schedule-geoprocessing-tools.htm#ESRI_SECTION1_1321DCA77D2F4DF18341277A1E4409CD" target="_blank" rel="noopener"&gt;Schedule geoprocessing tools—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;Scheduling geoprocessing tools uses&lt;/SPAN&gt;&lt;SPAN class=""&gt;Windows&lt;/SPAN&gt;&lt;SPAN&gt;Task Scheduler to run the selected tools at a specified time. The geoprocessing tools you scheduled in&lt;/SPAN&gt;&lt;SPAN class=""&gt;ArcGIS Pro&lt;/SPAN&gt;&lt;SPAN&gt;display in&lt;/SPAN&gt;&lt;SPAN class=""&gt;Windows&lt;/SPAN&gt;&lt;SPAN&gt;Task Scheduler under the name of the task you specified in the&lt;/SPAN&gt;&lt;SPAN class=""&gt;Schedule&lt;/SPAN&gt;&lt;SPAN&gt;window.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;Check to see if it's in Windows Task Scheduler. Check the triggers and actions tabs to make sure everything looks correct. Check the run history of the task to see if it gives you any messaging. Try running it manually from the Windows Task Scheduler.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2023 21:53:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/schedule-a-custom-gp-tool-in-pro/m-p/1349999#M69246</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2023-11-15T21:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: Schedule a custom GP tool in Pro?</title>
      <link>https://community.esri.com/t5/python-questions/schedule-a-custom-gp-tool-in-pro/m-p/1350007#M69247</link>
      <description>&lt;P&gt;Yes, I followed the documentation, and 'sign in automatically' is checked on. I do have a Concurrent Use license but I don't think there are any extension tools being used in the script; the only calls to ArcPy are Describe and the .da module.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2023 22:11:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/schedule-a-custom-gp-tool-in-pro/m-p/1350007#M69247</guid>
      <dc:creator>gkanazawa_Mpls</dc:creator>
      <dc:date>2023-11-15T22:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: Schedule a custom GP tool in Pro?</title>
      <link>https://community.esri.com/t5/python-questions/schedule-a-custom-gp-tool-in-pro/m-p/1350011#M69248</link>
      <description>&lt;P&gt;I am able to see it in Task Scheduler, everything looks correct (triggers, actions) except under Last Run Result, it just shows (0x1). If I try to run them manually in Task Scheduler, the Status message changes from Ready to Running, but as far as I can tell it' not actually doing anything.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2023 22:31:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/schedule-a-custom-gp-tool-in-pro/m-p/1350011#M69248</guid>
      <dc:creator>gkanazawa_Mpls</dc:creator>
      <dc:date>2023-11-15T22:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: Schedule a custom GP tool in Pro?</title>
      <link>https://community.esri.com/t5/python-questions/schedule-a-custom-gp-tool-in-pro/m-p/1350029#M69249</link>
      <description>&lt;P&gt;Ok, I (actually, my supervisor) figured out what was wrong. In the toolbox' .pyt file, when the Toolbox class was declared, I didn't have an alias declared in the __init__ function. Apparently Esri's code is broken and produces invalid python for the task if there's no alias, but now that I've added one everything's working as it should! Thanks Dan and Blake for your responses though!&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2023 22:52:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/schedule-a-custom-gp-tool-in-pro/m-p/1350029#M69249</guid>
      <dc:creator>gkanazawa_Mpls</dc:creator>
      <dc:date>2023-11-15T22:52:18Z</dc:date>
    </item>
  </channel>
</rss>

