<?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: Python script as sheduled task (ArcGIS Pro) in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/python-script-as-sheduled-task-arcgis-pro/m-p/564040#M44123</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We were having issues running arcpy or arcgis modules on task scheduler on our 2016 windows server. It would error out because the script was running under the SYSTEM account and was not able to log into AGOL for the license. We tried to manually install Pro and switching to a single use license but this failed as well.&amp;nbsp;&lt;SPAN&gt;Even when manually installing Pro and switching the license it did not work because the license install manager is installed in the user profile.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We finally found the answer!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We had to run cmd line install Pro with it pointing at a single use license. We have to run a command install to a place accessible by the SYSTEM account. This cleared up everything.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/318669"&gt;Tracy Wamsley&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 07 Mar 2020 22:14:17 GMT</pubDate>
    <dc:creator>DanielHuneycutt</dc:creator>
    <dc:date>2020-03-07T22:14:17Z</dc:date>
    <item>
      <title>Python script as sheduled task (ArcGIS Pro)</title>
      <link>https://community.esri.com/t5/python-questions/python-script-as-sheduled-task-arcgis-pro/m-p/564013#M44096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is anyone able to run a script through Windows Task scheduler using ArcGIS Pro?&amp;nbsp; As a test I have an extremely simple script (just copying a feature) that runs fine within ArcGIS Pro. &amp;nbsp;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; arcpy
arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;management&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;CopyFeatures&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"C:\CityScripts\ScheduledTasks\SafewatchCameras\Data\General.gdb\SafewatchCameras"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"C:\CityScripts\ScheduledTasks\SafewatchCameras\Data\General.gdb\SafewatchCamerastemp2"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; None&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; None&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; None&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; None&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I setup the Task Scheduler as recommended by the ArcGIS Pro &lt;A href="http://pro.arcgis.com/en/pro-app/arcpy/get-started/installing-python-for-arcgis-pro.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;help&lt;/A&gt; and while the Task completes successfully nothing happens with the script.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/421893_Capture2.JPG" /&gt;&lt;IMG /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Put in a call to ESRI tech support but they said it was a Windows issue and therefore couldn't work on it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 00:18:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-as-sheduled-task-arcgis-pro/m-p/564013#M44096</guid>
      <dc:creator>City_of_Greenville__SCGIS</dc:creator>
      <dc:date>2021-12-12T00:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: Python script as sheduled task (ArcGIS Pro)</title>
      <link>https://community.esri.com/t5/python-questions/python-script-as-sheduled-task-arcgis-pro/m-p/564014#M44097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this script being run on a desktop machine or a Windows Server?&amp;nbsp; What is the operating system?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 13:58:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-as-sheduled-task-arcgis-pro/m-p/564014#M44097</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2018-09-14T13:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: Python script as sheduled task (ArcGIS Pro)</title>
      <link>https://community.esri.com/t5/python-questions/python-script-as-sheduled-task-arcgis-pro/m-p/564015#M44098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To put it kindly, that response from Esri Support is rubbish (&lt;EM&gt;I had some other word choices but wasn't sure if the upcoming profanity filter would block them!)&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I notice you are using non-escaped file paths.&amp;nbsp; It is best to use either escaped paths or raw strings to prevent Python from misinterpreting any backslashes in your strings.&amp;nbsp; Does your script file run properly if you run it outside of a scheduled task?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried running a Python script with no ArcPy calls but calling it the same (using C:\...\propy)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 15:07:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-as-sheduled-task-arcgis-pro/m-p/564015#M44098</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2018-09-14T15:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: Python script as sheduled task (ArcGIS Pro)</title>
      <link>https://community.esri.com/t5/python-questions/python-script-as-sheduled-task-arcgis-pro/m-p/564016#M44099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should be using propy.bat, not just propy.&amp;nbsp; This works for me:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Program/script:&lt;/P&gt;&lt;P&gt;"c:\Program Files\ArcGIS\Pro\bin\Python\scripts\propy.bat"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add arguments (optional):&lt;/P&gt;&lt;P&gt;"C:\Users\Owner\Documents\Test.py"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also agree that you should be using a raw string for the path and file name arguments in Python.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 15:15:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-as-sheduled-task-arcgis-pro/m-p/564016#M44099</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2018-09-14T15:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: Python script as sheduled task (ArcGIS Pro)</title>
      <link>https://community.esri.com/t5/python-questions/python-script-as-sheduled-task-arcgis-pro/m-p/564017#M44100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Richard,&amp;nbsp;&lt;/P&gt;&lt;P&gt;It throws an error when I run it like this.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/421911_Capture2.JPG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 16:09:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-as-sheduled-task-arcgis-pro/m-p/564017#M44100</guid>
      <dc:creator>City_of_Greenville__SCGIS</dc:creator>
      <dc:date>2018-09-14T16:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: Python script as sheduled task (ArcGIS Pro)</title>
      <link>https://community.esri.com/t5/python-questions/python-script-as-sheduled-task-arcgis-pro/m-p/564018#M44101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;Windows Server 2012 Standard.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 16:11:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-as-sheduled-task-arcgis-pro/m-p/564018#M44101</guid>
      <dc:creator>City_of_Greenville__SCGIS</dc:creator>
      <dc:date>2018-09-14T16:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: Python script as sheduled task (ArcGIS Pro)</title>
      <link>https://community.esri.com/t5/python-questions/python-script-as-sheduled-task-arcgis-pro/m-p/564019#M44102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about calling python.exe from it's installed location?&amp;nbsp; For me it would be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\python.exe would be the Program/script&lt;/P&gt;&lt;P&gt;and the py file would be the Add arguments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the task configured to "Run with highest privileges"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 16:17:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-as-sheduled-task-arcgis-pro/m-p/564019#M44102</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2018-09-14T16:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Python script as sheduled task (ArcGIS Pro)</title>
      <link>https://community.esri.com/t5/python-questions/python-script-as-sheduled-task-arcgis-pro/m-p/564020#M44103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Joshua,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yeah I agree, I was pretty disappointed.&amp;nbsp; If we were three hours into the call and getting nowhere that would be one thing.&amp;nbsp; Or at least maybe point me somewhere in the right direction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt; &amp;nbsp;I notice you are using non-escaped file paths.&amp;nbsp; It is best to use either escaped paths or raw strings to prevent Python from misinterpreting any backslashes in your strings.&lt;/SPAN&gt;&lt;EM style="-webkit-text-stroke-width: 0px; color: #3d3d3d; white-space: normal; font-weight: 400; letter-spacing: normal; text-decoration: none; display: inline !important; font-size: 15px; float: none; background-color: transparent; text-transform: none; word-spacing: 0px; font-variant: normal; text-indent: 0px; font-family: arial,helvetica,'helvetica neue',verdana,sans-serif; orphans: 2; text-align: left;"&gt; &amp;nbsp;&lt;/EM&gt;&lt;SPAN style="text-align: left; color: #3d3d3d; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: arial,helvetica,'helvetica neue',verdana,sans-serif; font-size: 15px; font-variant: normal; font-weight: 400; text-decoration: none; word-spacing: 0px; display: inline !important; white-space: normal; orphans: 2; float: none; -webkit-text-stroke-width: 0px; background-color: transparent;"&gt;You lost me here.&amp;nbsp; I know enough Python to be dangerous but not sure what this means.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-align: left; color: #ff0000; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: arial,helvetica,'helvetica neue',verdana,sans-serif; font-size: 15px; font-variant: normal; font-weight: 400; text-decoration: none; word-spacing: 0px; display: inline !important; white-space: normal; orphans: 2; float: none; -webkit-text-stroke-width: 0px; background-color: transparent;"&gt;&lt;SPAN style="text-align: left; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: arial,helvetica,'helvetica neue',verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; word-spacing: 0px; display: inline !important; white-space: normal; orphans: 2; float: none; -webkit-text-stroke-width: 0px; background-color: transparent;"&gt;Does your script file run properly if you run it outside of a scheduled task?&amp;nbsp;&lt;SPAN style="color: #000000;"&gt;Had trouble testing this.&amp;nbsp; I've been using PyScripter on this machine to run our other scripts (which are all ArcGIS 10.3, 2.x versions) and I don't understand how to test using the Python install that comes with Pro. &amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 16:25:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-as-sheduled-task-arcgis-pro/m-p/564020#M44103</guid>
      <dc:creator>City_of_Greenville__SCGIS</dc:creator>
      <dc:date>2018-09-14T16:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: Python script as sheduled task (ArcGIS Pro)</title>
      <link>https://community.esri.com/t5/python-questions/python-script-as-sheduled-task-arcgis-pro/m-p/564021#M44104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Same error.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/421912_Capture2.JPG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is how we (successfully) run all of our ArcMap based python scripts though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/421934_Capture2.JPG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 16:29:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-as-sheduled-task-arcgis-pro/m-p/564021#M44104</guid>
      <dc:creator>City_of_Greenville__SCGIS</dc:creator>
      <dc:date>2018-09-14T16:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: Python script as sheduled task (ArcGIS Pro)</title>
      <link>https://community.esri.com/t5/python-questions/python-script-as-sheduled-task-arcgis-pro/m-p/564022#M44105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is another threads related to this issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/197493"&gt;Python 3.x Scheduled Task Fails&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It provides insight on the problem, but I'm not sure it has been resolved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 16:38:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-as-sheduled-task-arcgis-pro/m-p/564022#M44105</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2018-09-14T16:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: Python script as sheduled task (ArcGIS Pro)</title>
      <link>https://community.esri.com/t5/python-questions/python-script-as-sheduled-task-arcgis-pro/m-p/564023#M44106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It means you have to rewrite your script to be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;import arcpy
arcpy.management.CopyFeatures(r"C:\CityScripts\ScheduledTasks\SafewatchCameras\Data\General.gdb\SafewatchCameras", r"C:\CityScripts\ScheduledTasks\SafewatchCameras\Data\General.gdb\SafewatchCamerastemp2", None, None, None, None)&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notice I added an r in front of both your file paths.&amp;nbsp; That makes it a raw string so that Python does not interpret the slashes as escape characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The set up I recommended was taken from the Esri website that explains how to &lt;A href="http://pro.arcgis.com/en/pro-app/arcpy/get-started/using-conda-with-arcgis-pro.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;Run Standalone Scripts&lt;/A&gt;.&amp;nbsp;&amp;nbsp;It works for&amp;nbsp;running scripts on my local machine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 00:18:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-as-sheduled-task-arcgis-pro/m-p/564023#M44106</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2021-12-12T00:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: Python script as sheduled task (ArcGIS Pro)</title>
      <link>https://community.esri.com/t5/python-questions/python-script-as-sheduled-task-arcgis-pro/m-p/564024#M44107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh, that's what those are &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 16:55:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-as-sheduled-task-arcgis-pro/m-p/564024#M44107</guid>
      <dc:creator>City_of_Greenville__SCGIS</dc:creator>
      <dc:date>2018-09-14T16:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: Python script as sheduled task (ArcGIS Pro)</title>
      <link>https://community.esri.com/t5/python-questions/python-script-as-sheduled-task-arcgis-pro/m-p/564025#M44108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not to ask the obvious, but you do have Pro configured for either offline use or to automatically sign in?&amp;nbsp; And, has the profile/user/service that is running the scheduled task ever logged into Pro before?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 17:20:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-as-sheduled-task-arcgis-pro/m-p/564025#M44108</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2018-09-14T17:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: Python script as sheduled task (ArcGIS Pro)</title>
      <link>https://community.esri.com/t5/python-questions/python-script-as-sheduled-task-arcgis-pro/m-p/564026#M44109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah this is definitely related.&amp;nbsp; When I select "Run only when user is logged on" it'll run.&amp;nbsp; I wonder if it's OS as your first question alluded to?&amp;nbsp; It seemed in that thread that people who were running Windows 2016 didn't have an issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, separately, what a rabbit hole.&amp;nbsp; How is this not something that Tech Support doesn't want to jump into and solve and/or direct people to the appropriate resources?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 20:30:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-as-sheduled-task-arcgis-pro/m-p/564026#M44109</guid>
      <dc:creator>City_of_Greenville__SCGIS</dc:creator>
      <dc:date>2018-09-14T20:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: Python script as sheduled task (ArcGIS Pro)</title>
      <link>https://community.esri.com/t5/python-questions/python-script-as-sheduled-task-arcgis-pro/m-p/564027#M44110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have Windows Server 2012 or Windows Server 2012 R2?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 21:32:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-as-sheduled-task-arcgis-pro/m-p/564027#M44110</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2018-09-14T21:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Python script as sheduled task (ArcGIS Pro)</title>
      <link>https://community.esri.com/t5/python-questions/python-script-as-sheduled-task-arcgis-pro/m-p/564028#M44111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The big question is, does the script run when using the account that will run it in task scheduler (right click run as)? Ever since I moved all my task scheduler stuff to Pro, nothing but a nightmare of scripts randomly failing, etc. I currently have one bug open related to pro py running as a scheduled task. Same scripts have worked fine in Arcmap for years. So it's not a windows issue. Also, has your IT person set this task up for you? There are a lot of permissions flaming hoops you have to jump through to get a scheduled task to run, and most users login does not allow it to run if you're logged off.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Sep 2018 20:54:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-as-sheduled-task-arcgis-pro/m-p/564028#M44111</guid>
      <dc:creator>ThomasColson</dc:creator>
      <dc:date>2018-09-15T20:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: Python script as sheduled task (ArcGIS Pro)</title>
      <link>https://community.esri.com/t5/python-questions/python-script-as-sheduled-task-arcgis-pro/m-p/564029#M44112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;It does appear to be an operating system issue as I ran it on another serving that's running Windows 2016 and it was successful.&amp;nbsp; Seemingly everything else was the same (admin rights, etc.)&amp;nbsp; I sent a message to our IT dept for some clarity as I'm not sure if there might be something specific to us or if it's specific to Windows 2012.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2018 18:31:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-as-sheduled-task-arcgis-pro/m-p/564029#M44112</guid>
      <dc:creator>City_of_Greenville__SCGIS</dc:creator>
      <dc:date>2018-09-17T18:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: Python script as sheduled task (ArcGIS Pro)</title>
      <link>https://community.esri.com/t5/python-questions/python-script-as-sheduled-task-arcgis-pro/m-p/564030#M44113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's great that you were able to determine that it's the Windows Server OS that is the issue.&amp;nbsp; It would appear then that organizations planning to upgrade their Windows Server environments to using Pro based python 3.x scripts will need to upgrade their servers to Windows Server 2016.&amp;nbsp; I don't think ESRI has this in their documentation as a dependency.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2018 18:54:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-as-sheduled-task-arcgis-pro/m-p/564030#M44113</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2018-09-17T18:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: Python script as sheduled task (ArcGIS Pro)</title>
      <link>https://community.esri.com/t5/python-questions/python-script-as-sheduled-task-arcgis-pro/m-p/564031#M44114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure that the account the job is running under has a named user account with AGOL or if it is a service account then configure your batch server as a Concurrent Use license. This will eliminate the licensing issues on the batch server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2018 20:46:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-as-sheduled-task-arcgis-pro/m-p/564031#M44114</guid>
      <dc:creator>AllanBenvin_yyc</dc:creator>
      <dc:date>2018-09-17T20:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Python script as sheduled task (ArcGIS Pro)</title>
      <link>https://community.esri.com/t5/python-questions/python-script-as-sheduled-task-arcgis-pro/m-p/564032#M44115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep, user is named user and has admin rights.&amp;nbsp; Still doesn't work on 2012.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 18:36:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-as-sheduled-task-arcgis-pro/m-p/564032#M44115</guid>
      <dc:creator>City_of_Greenville__SCGIS</dc:creator>
      <dc:date>2018-09-18T18:36:52Z</dc:date>
    </item>
  </channel>
</rss>

