<?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: Running a scheduled task on a server machine in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/running-a-scheduled-task-on-a-server-machine/m-p/94133#M3846</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you have the same weekly scheduled task setup for ArcMap 10.x with a concurrent use license?&amp;nbsp; If so, would you be able to at least convert 1 Named User account to a concurrent use license?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Jul 2019 15:02:10 GMT</pubDate>
    <dc:creator>MichaelVolz</dc:creator>
    <dc:date>2019-07-16T15:02:10Z</dc:date>
    <item>
      <title>Running a scheduled task on a server machine</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/running-a-scheduled-task-on-a-server-machine/m-p/94132#M3845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I need to run a python 3.x script that uses ArcGIS Pro arcpy as a weekly scheduled task on a server machine. Our organization uses named user licenses managed via ArcGIS Online. I configured ArcGIS Pro to work offline on the Server.&amp;nbsp; However I cannot run the task with my ArcGIS Pro Userid. I have to use a designated account which&amp;nbsp;has&amp;nbsp;access to all the servers.&amp;nbsp; How can I get my arcpy script to execute as a scheduled task on the server?&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2019 14:57:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/running-a-scheduled-task-on-a-server-machine/m-p/94132#M3845</guid>
      <dc:creator>annegrimes2</dc:creator>
      <dc:date>2019-07-16T14:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Running a scheduled task on a server machine</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/running-a-scheduled-task-on-a-server-machine/m-p/94133#M3846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you have the same weekly scheduled task setup for ArcMap 10.x with a concurrent use license?&amp;nbsp; If so, would you be able to at least convert 1 Named User account to a concurrent use license?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2019 15:02:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/running-a-scheduled-task-on-a-server-machine/m-p/94133#M3846</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2019-07-16T15:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Running a scheduled task on a server machine</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/running-a-scheduled-task-on-a-server-machine/m-p/94134#M3847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In order for the task to run (when you're logged off) you need to right-click on Pro, run as different user, use the logon for the service account running the task, log that service account into AGOL (Portals). This is significantly different than how to run a schedule python task in the ArcMap world, which only required a headless account baked into the py script to be able to interact with AGOL, and one I hope ESRI changes soon, as this hokey workaround is not sustainable.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/thread/221292-python-script-as-sheduled-task-arcgis-pro"&gt;https://community.esri.com/thread/221292-python-script-as-sheduled-task-arcgis-pro&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/thread/197493-python-3x-scheduled-task-fails"&gt;https://community.esri.com/thread/197493-python-3x-scheduled-task-fails&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/arcpy/get-started/installing-python-for-arcgis-pro.htm"&gt;https://pro.arcgis.com/en/pro-app/arcpy/get-started/installing-python-for-arcgis-pro.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H2 style="color: #4c4c4c; background-color: #ffffff; font-weight: 300; font-size: 1.9994rem; margin: -145px 0px 1.55rem; padding-top: 175px;"&gt;Authorizing Python outside the application&lt;/H2&gt;&lt;P style="color: #4c4c4c; background-color: #ffffff; margin-bottom: 1.55rem;"&gt;If you run Python scripts that use&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;ArcGIS Pro&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;functionality outside of the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;ArcGIS Pro&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;application, such as a Python IDE, from a command prompt, or running scripts through scheduled tasks, one of the following conditions must be true:&lt;/P&gt;&lt;UL style="color: #4c4c4c; background-color: #ffffff; font-size: 0.9375rem; margin-left: 0.775rem; margin-bottom: 1.55rem;"&gt;&lt;LI style="margin: 0.3875rem 0px 0.3875rem 1.5rem;"&gt;&lt;SPAN class="" style="font-weight: bold;"&gt;Sign me in automatically&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is checked when signing in to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;ArcGIS Pro&lt;/SPAN&gt;.&lt;/LI&gt;&lt;LI style="margin: 0.3875rem 0px 0.3875rem 1.5rem;"&gt;&lt;SPAN class=""&gt;ArcGIS Pro&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is currently open.&lt;/LI&gt;&lt;LI style="margin: 0.3875rem 0px 0.3875rem 1.5rem;"&gt;&lt;SPAN class=""&gt;ArcGIS Pro&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;has been&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/get-started/authorize-and-start-arcgis-pro-with-a-single-use-license.htm#ESRI_SECTION1_F00598A847CE4F5CB23C152C77D8644C" style="color: #0074b8; text-decoration: none;"&gt;authorized to work offline&lt;/A&gt;.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;is false, as, in meeting "&lt;SPAN class=""&gt;ArcGIS Pro&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;has been&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/get-started/authorize-and-start-arcgis-pro-with-a-single-use-license.htm#ESRI_SECTION1_F00598A847CE4F5CB23C152C77D8644C" style="color: #0074b8; text-decoration: none;"&gt;authorized to work offline&lt;/A&gt;." and "&lt;SPAN class="" style="font-weight: bold;"&gt;Sign me in automatically&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is checked when signing in to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;ArcGIS Pro&lt;/SPAN&gt;.", the scheduled task fails unless Pro is&amp;nbsp;"&lt;SPAN class=""&gt;ArcGIS Pro&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is currently open.", which&amp;nbsp;means all &lt;STRONG&gt;three conditions must be met,&lt;/STRONG&gt; not just one.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2019 16:27:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/running-a-scheduled-task-on-a-server-machine/m-p/94134#M3847</guid>
      <dc:creator>ThomasColson</dc:creator>
      <dc:date>2019-07-16T16:27:18Z</dc:date>
    </item>
  </channel>
</rss>

