<?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 3.5.1 script won't run via Windows Task Scheduler when user logged off in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/python-3-5-1-script-won-t-run-via-windows-task/m-p/357030#M28157</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I went through my script line by line, commented out functions, and re-ran through Task Scheduler with 'Run whether user is logged on or not', until it no longer worked. &amp;nbsp;It finally "failed" when I un-commented the 'exportToPDF' function. &amp;nbsp;Although, it doesn't really fail, Task Scheduler will still show the Last Run Result as successful, it just doesn't seem to actually export anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried exportToJPEG and exportToPNG, both with the same result as exportToPDF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is a copy of a log my script outputs when I leave the 'exportToPDF' function commented out. &amp;nbsp;Even though it may say successfully exported a PDF, it's simply indicating where the PDF should be written to. &amp;nbsp;You can see the script has no problem accessing the ArcGIS Pro document, updating layer definition queries, turning layers on or off, setting the map frame extent to that of a layer, adjusting the map frame scale, updating layout text elements, etc... it's the 'exportTo...' function that does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Permissions are not an issue. &amp;nbsp;My log is being written to a different server successfully, and the output PDFs are being written to a different server successfully if I change the Task Scheduler property to 'Run only when user is logged on'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So...even though previous comments indicated this would be fixed at ArcGIS Pro 2.0, it doesn't appear that it has been. &amp;nbsp;Exporting layouts through Task Scheduler with 'Run whether user is logged on or not' seems to be a bug, and not possible, at least based on our system environment, shown below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;System Environment&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;OS:&lt;/STRONG&gt; Windows Server 2012 R2&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ArcGIS Pro Version:&lt;/STRONG&gt; 2.0&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ArcGIS Pro License Type:&lt;/STRONG&gt; Single Use Advanced&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Task Scheduler Action shown&amp;nbsp;below. &amp;nbsp;I see in the &lt;A href="http://pro.arcgis.com/en/pro-app/arcpy/get-started/installing-python-for-arcgis-pro.htm#ESRI_SECTION1_CD96A9B97F874266A6F6CDBF6FE5FEDA" rel="nofollow noopener noreferrer" target="_blank"&gt;Pro docs&lt;/A&gt; it's recommended to use the propy.bat file, so I am, with an argument set to the file path of my script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="359565" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/359565_pastedImage_6.png" style="width: 620px; height: 42px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example log file&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;User: MBoyle
Time: 2017-06-30 10:14:46 AM
Script: E:\GIS-Data\Scripts\DailyReappraisalMaps.py
--------------------------------------------------
2017-06-30 10:14:46 AM: Attempting to truncate ..\Matt\Production\Assessor\Reappraisal\Maps\DailyReappraisal\DailyReappraisal.gdb\asrRprslMapAreaY...
2017-06-30 10:14:48 AM: Successfully truncated ..\Matt\Production\Assessor\Reappraisal\Maps\DailyReappraisal\DailyReappraisal.gdb\asrRprslMapAreaY... (Elapsed time: 1.77 seconds)
2017-06-30 10:14:49 AM: Attempting to load gdb.DBO.svw_asrRprslMapAreaY into ..\Matt\Production\Assessor\Reappraisal\Maps\DailyReappraisal\DailyReappraisal.gdb\asrRprslMapAreaY...
2017-06-30 10:14:54 AM: Successfully loaded 4 rows from gdb.DBO.svw_asrRprslMapAreaY into ..\Matt\Production\Assessor\Reappraisal\Maps\DailyReappraisal\DailyReappraisal.gdb\asrRprslMapAreaY... (Elapsed time: 3.96 seconds)
--------------------------------------------------
2017-06-30 10:14:54 AM: ..Some-Folder\Reappraisal\In-House\Reports\Maps\2017-06-29 already exists; skipping attempt to create...
--------------------------------------------------
2017-06-30 10:14:58 AM: ArcGIS Pro Project: ..\Matt\Production\Assessor\Reappraisal\Maps\DailyReappraisal\DailyReappraisal.aprx
--------------------------------------------------
2017-06-30 10:14:58 AM: Maps:
2017-06-30 10:14:58 AM:&amp;nbsp;&amp;nbsp; Reappraisal
--------------------------------------------------
2017-06-30 10:14:58 AM: Layouts:
2017-06-30 10:14:58 AM:&amp;nbsp;&amp;nbsp; Landscape
2017-06-30 10:14:58 AM:&amp;nbsp;&amp;nbsp; Portrait
--------------------------------------------------
2017-06-30 10:14:58 AM: Orientations:
2017-06-30 10:14:58 AM:&amp;nbsp;&amp;nbsp; L
2017-06-30 10:14:58 AM:&amp;nbsp;&amp;nbsp; P
--------------------------------------------------
2017-06-30 10:14:59 AM: Landscape Features:
2017-06-30 10:14:59 AM:&amp;nbsp;&amp;nbsp; MapArea=Marion 1040
2017-06-30 10:14:59 AM:&amp;nbsp;&amp;nbsp; OID=1
2017-06-30 10:14:59 AM:&amp;nbsp;&amp;nbsp; *~*~*~*~*~*~*~*~*
2017-06-30 10:14:59 AM:&amp;nbsp;&amp;nbsp; MapArea=Marion 1018
2017-06-30 10:14:59 AM:&amp;nbsp;&amp;nbsp; OID=2
--------------------------------------------------
2017-06-30 10:14:59 AM: Portrait Features:
2017-06-30 10:14:59 AM:&amp;nbsp;&amp;nbsp; MapArea=Marion 1024
2017-06-30 10:14:59 AM:&amp;nbsp;&amp;nbsp; OID=3
2017-06-30 10:14:59 AM:&amp;nbsp;&amp;nbsp; *~*~*~*~*~*~*~*~*
2017-06-30 10:14:59 AM:&amp;nbsp;&amp;nbsp; MapArea=Marion 1019
2017-06-30 10:14:59 AM:&amp;nbsp;&amp;nbsp; OID=4
--------------------------------------------------
2017-06-30 10:14:59 AM: Attempting to update 'Parcels Visited Yesterday' layer name within 'Reappraisal' map to 'Parcels Visited 06/29/2017'...
2017-06-30 10:14:59 AM: Successfully updated 'Parcels Visited Yesterday' layer name within 'Reappraisal' map to 'Parcels Visited 06/29/2017'... (Elapsed time: 0.00 seconds)
--------------------------------------------------
2017-06-30 10:15:08 AM: There are 2 landscape pages to export...
--------------------------------------------------
2017-06-30 10:15:08 AM: Attempting to turn on 'Assessor Map Area Index (L)' layer within 'Reappraisal' map...
2017-06-30 10:15:08 AM: Successfully turned on 'Assessor Map Area Index (L)' layer within 'Reappraisal' map... (Elapsed time: 0.00 seconds)
--------------------------------------------------
2017-06-30 10:15:08 AM: Attempting to turn off 'Assessor Map Area Index (P)' layer within 'Reappraisal' map...
2017-06-30 10:15:08 AM: Successfully turned off 'Assessor Map Area Index (P)' layer within 'Reappraisal' map... (Elapsed time: 0.00 seconds)
--------------------------------------------------
2017-06-30 10:15:08 AM: Attempting to update definition query of 'Assessor Map Area Index (L)' layer to 'OBJECTID=1'...
2017-06-30 10:15:08 AM: Successfully updated definition query of 'Assessor Map Area Index (L)' layer to 'OBJECTID=1'... (Elapsed time: 0.04 seconds)
2017-06-30 10:15:08 AM: Attempting to set 'Data View Map Frame' map frame within 'Landscape' layout to the extent of the 'Assessor Map Area Index (L)' layer...
2017-06-30 10:15:08 AM: Successfully set 'Data View Map Frame' map frame within 'Landscape' layout to the extent of the 'Assessor Map Area Index (L)' layer... (Elapsed time: 0.03 seconds)
2017-06-30 10:15:08 AM: Attempting to apply a 5.0% padding to 'Landscape' layout scale; setting layout scale to 1:8,965...
2017-06-30 10:15:08 AM: Successfully applied a 5.0% padding to 'Landscape' layout scale; setting layout scale to 1:8,965... (Elapsed time: 0.01 seconds)
2017-06-30 10:15:08 AM: Attempting to update 'Landscape' layout 'MapArea' text element to 'Marion 1040'...
2017-06-30 10:15:08 AM: Successfully updated 'Landscape' layout 'MapArea' text element to 'Marion 1040'... (Elapsed time: 0.00 seconds)
2017-06-30 10:15:08 AM: Attempting to export 'Landscape' layout to: ..Some-Folder\Reappraisal\In-House\Reports\Maps\2017-06-29\Marion 1040.pdf...
2017-06-30 10:15:08 AM: Successfully exported 'Landscape' layout to: ..Some-Folder\Reappraisal\In-House\Reports\Maps\2017-06-29\Marion 1040.pdf... (Elapsed time: 0.00 seconds)
--------------------------------------------------
2017-06-30 10:15:08 AM: Attempting to update definition query of 'Assessor Map Area Index (L)' layer to 'OBJECTID=2'...
2017-06-30 10:15:08 AM: Successfully updated definition query of 'Assessor Map Area Index (L)' layer to 'OBJECTID=2'... (Elapsed time: 0.04 seconds)
2017-06-30 10:15:08 AM: Attempting to set 'Data View Map Frame' map frame within 'Landscape' layout to the extent of the 'Assessor Map Area Index (L)' layer...
2017-06-30 10:15:08 AM: Successfully set 'Data View Map Frame' map frame within 'Landscape' layout to the extent of the 'Assessor Map Area Index (L)' layer... (Elapsed time: 0.03 seconds)
2017-06-30 10:15:08 AM: Attempting to apply a 5.0% padding to 'Landscape' layout scale; setting layout scale to 1:5,612...
2017-06-30 10:15:08 AM: Successfully applied a 5.0% padding to 'Landscape' layout scale; setting layout scale to 1:5,612... (Elapsed time: 0.01 seconds)
2017-06-30 10:15:08 AM: Attempting to update 'Landscape' layout 'MapArea' text element to 'Marion 1018'...
2017-06-30 10:15:08 AM: Successfully updated 'Landscape' layout 'MapArea' text element to 'Marion 1018'... (Elapsed time: 0.00 seconds)
2017-06-30 10:15:08 AM: Attempting to export 'Landscape' layout to: ..Some-Folder\Reappraisal\In-House\Reports\Maps\2017-06-29\Marion 1018.pdf...
2017-06-30 10:15:08 AM: Successfully exported 'Landscape' layout to: ..Some-Folder\Reappraisal\In-House\Reports\Maps\2017-06-29\Marion 1018.pdf... (Elapsed time: 0.00 seconds)
--------------------------------------------------
2017-06-30 10:15:08 AM: There are 2 portrait pages to export...
--------------------------------------------------
2017-06-30 10:15:08 AM: Attempting to turn on 'Assessor Map Area Index (P)' layer within 'Reappraisal' map...
2017-06-30 10:15:08 AM: Successfully turned on 'Assessor Map Area Index (P)' layer within 'Reappraisal' map... (Elapsed time: 0.00 seconds)
--------------------------------------------------
2017-06-30 10:15:08 AM: Attempting to turn off 'Assessor Map Area Index (L)' layer within 'Reappraisal' map...
2017-06-30 10:15:08 AM: Successfully turned off 'Assessor Map Area Index (L)' layer within 'Reappraisal' map... (Elapsed time: 0.00 seconds)
--------------------------------------------------
2017-06-30 10:15:08 AM: Attempting to update definition query of 'Assessor Map Area Index (P)' layer to 'OBJECTID=3'...
2017-06-30 10:15:08 AM: Successfully updated definition query of 'Assessor Map Area Index (P)' layer to 'OBJECTID=3'... (Elapsed time: 0.04 seconds)
2017-06-30 10:15:08 AM: Attempting to set 'Data View Map Frame' map frame within 'Portrait' layout to the extent of the 'Assessor Map Area Index (P)' layer...
2017-06-30 10:15:08 AM: Successfully set 'Data View Map Frame' map frame within 'Portrait' layout to the extent of the 'Assessor Map Area Index (P)' layer... (Elapsed time: 0.03 seconds)
2017-06-30 10:15:08 AM: Attempting to apply a 5.0% padding to 'Portrait' layout scale; setting layout scale to 1:4,046...
2017-06-30 10:15:08 AM: Successfully applied a 5.0% padding to 'Portrait' layout scale; setting layout scale to 1:4,046... (Elapsed time: 0.01 seconds)
2017-06-30 10:15:08 AM: Attempting to update 'Portrait' layout 'MapArea' text element to 'Marion 1024'...
2017-06-30 10:15:08 AM: Successfully updated 'Portrait' layout 'MapArea' text element to 'Marion 1024'... (Elapsed time: 0.00 seconds)
2017-06-30 10:15:08 AM: Attempting to export 'Portrait' layout to: ..Some-Folder\Reappraisal\In-House\Reports\Maps\2017-06-29\Marion 1024.pdf...
2017-06-30 10:15:08 AM: Successfully exported 'Portrait' layout to: ..Some-Folder\Reappraisal\In-House\Reports\Maps\2017-06-29\Marion 1024.pdf... (Elapsed time: 0.00 seconds)
--------------------------------------------------
2017-06-30 10:15:08 AM: Attempting to update definition query of 'Assessor Map Area Index (P)' layer to 'OBJECTID=4'...
2017-06-30 10:15:08 AM: Successfully updated definition query of 'Assessor Map Area Index (P)' layer to 'OBJECTID=4'... (Elapsed time: 0.04 seconds)
2017-06-30 10:15:08 AM: Attempting to set 'Data View Map Frame' map frame within 'Portrait' layout to the extent of the 'Assessor Map Area Index (P)' layer...
2017-06-30 10:15:08 AM: Successfully set 'Data View Map Frame' map frame within 'Portrait' layout to the extent of the 'Assessor Map Area Index (P)' layer... (Elapsed time: 0.03 seconds)
2017-06-30 10:15:08 AM: Attempting to apply a 5.0% padding to 'Portrait' layout scale; setting layout scale to 1:4,815...
2017-06-30 10:15:08 AM: Successfully applied a 5.0% padding to 'Portrait' layout scale; setting layout scale to 1:4,815... (Elapsed time: 0.01 seconds)
2017-06-30 10:15:08 AM: Attempting to update 'Portrait' layout 'MapArea' text element to 'Marion 1019'...
2017-06-30 10:15:08 AM: Successfully updated 'Portrait' layout 'MapArea' text element to 'Marion 1019'... (Elapsed time: 0.00 seconds)
2017-06-30 10:15:08 AM: Attempting to export 'Portrait' layout to: ..Some-Folder\Reappraisal\In-House\Reports\Maps\2017-06-29\Marion 1019.pdf...
2017-06-30 10:15:08 AM: Successfully exported 'Portrait' layout to: ..Some-Folder\Reappraisal\In-House\Reports\Maps\2017-06-29\Marion 1019.pdf... (Elapsed time: 0.00 seconds)
--------------------------------------------------
2017-06-30 10:15:10 AM: End time of script (Elapsed time: 24.06 seconds)
--------------------------------------------------
‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 16:42:07 GMT</pubDate>
    <dc:creator>mpboyle</dc:creator>
    <dc:date>2021-12-11T16:42:07Z</dc:date>
    <item>
      <title>Python 3.5.1 script won't run via Windows Task Scheduler when user logged off</title>
      <link>https://community.esri.com/t5/python-questions/python-3-5-1-script-won-t-run-via-windows-task/m-p/356983#M28110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a python 3.5.1 script that uses ArcGIS Pro&amp;nbsp;1.4.1 to export some layouts to PNGs. The script runs with no problem from Windows Task Scheduler when I check the option "Run only when user is logged on", however, I really need to run the script when I am logged off. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm confused because I have other Python scripts (version 2.7) that run on the same server/user account via Task Scheduler while I am logged off with no problem. I've set them up with the exact same properties as my python 3.5.1 script... the only difference is the path to the python and the fact that the other scripts use ArcMap and not ArcGIS Pro.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone else had this issue and found a way to solve it? I've set up everything using a service account on a server with admin privileges. I have the properties in Task Scheduler set to run with the highest privileges as well.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 16:14:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-3-5-1-script-won-t-run-via-windows-task/m-p/356983#M28110</guid>
      <dc:creator>ShelbyZelonisRoberson</dc:creator>
      <dc:date>2017-06-23T16:14:34Z</dc:date>
    </item>
    <item>
      <title>Re:  Python 3.5.1 script won't run via Windows Task Scheduler when user logged off</title>
      <link>https://community.esri.com/t5/python-questions/python-3-5-1-script-won-t-run-via-windows-task/m-p/356984#M28111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you running this from a workstation or a server? &amp;nbsp;If a server, what version?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 16:17:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-3-5-1-script-won-t-run-via-windows-task/m-p/356984#M28111</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2017-06-23T16:17:35Z</dc:date>
    </item>
    <item>
      <title>Re:  Python 3.5.1 script won't run via Windows Task Scheduler when user logged off</title>
      <link>https://community.esri.com/t5/python-questions/python-3-5-1-script-won-t-run-via-windows-task/m-p/356985#M28112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Server... Windows 2012 R2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 16:22:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-3-5-1-script-won-t-run-via-windows-task/m-p/356985#M28112</guid>
      <dc:creator>ShelbyZelonisRoberson</dc:creator>
      <dc:date>2017-06-23T16:22:44Z</dc:date>
    </item>
    <item>
      <title>Re:  Python 3.5.1 script won't run via Windows Task Scheduler when user logged off</title>
      <link>https://community.esri.com/t5/python-questions/python-3-5-1-script-won-t-run-via-windows-task/m-p/356986#M28113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have any other Pro python scripts setup that you can test through the Task Scheduler to see if it is a specific python script issue or more a systematic issue with ArcPro based python scripts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 16:27:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-3-5-1-script-won-t-run-via-windows-task/m-p/356986#M28113</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2017-06-23T16:27:28Z</dc:date>
    </item>
    <item>
      <title>Re:  Python 3.5.1 script won't run via Windows Task Scheduler when user logged off</title>
      <link>https://community.esri.com/t5/python-questions/python-3-5-1-script-won-t-run-via-windows-task/m-p/356987#M28114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did try another Pro python script and that did not work either. But, the ArcMap ones work fine. I reached out to Esri tech support but since the script runs fine in IDLE and from the Pro interface, they can't help me (it's outside the scope of support).&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 16:30:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-3-5-1-script-won-t-run-via-windows-task/m-p/356987#M28114</guid>
      <dc:creator>ShelbyZelonisRoberson</dc:creator>
      <dc:date>2017-06-23T16:30:58Z</dc:date>
    </item>
    <item>
      <title>Re:  Python 3.5.1 script won't run via Windows Task Scheduler when user logged off</title>
      <link>https://community.esri.com/t5/python-questions/python-3-5-1-script-won-t-run-via-windows-task/m-p/356988#M28115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about trying to run a bat file that calls the python script instead of calling the python script directly? &amp;nbsp;That is how my organization has our Scheduled Tasks setup.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 16:45:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-3-5-1-script-won-t-run-via-windows-task/m-p/356988#M28115</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2017-06-23T16:45:46Z</dc:date>
    </item>
    <item>
      <title>Re:  Python 3.5.1 script won't run via Windows Task Scheduler when user logged off</title>
      <link>https://community.esri.com/t5/python-questions/python-3-5-1-script-won-t-run-via-windows-task/m-p/356989#M28116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know -- I tried that too... it works fine when I have the setting as "run when logged in", but again, not when I'm logged off. I'm perplexed!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 16:50:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-3-5-1-script-won-t-run-via-windows-task/m-p/356989#M28116</guid>
      <dc:creator>ShelbyZelonisRoberson</dc:creator>
      <dc:date>2017-06-23T16:50:18Z</dc:date>
    </item>
    <item>
      <title>Re:  Python 3.5.1 script won't run via Windows Task Scheduler when user logged off</title>
      <link>https://community.esri.com/t5/python-questions/python-3-5-1-script-won-t-run-via-windows-task/m-p/356990#M28117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How are you getting your license for ArcPro (i.e. license manager or AGOL named user)? &amp;nbsp;If AGOL named user, are you staying logged into AGOL to access the license?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 16:55:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-3-5-1-script-won-t-run-via-windows-task/m-p/356990#M28117</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2017-06-23T16:55:44Z</dc:date>
    </item>
    <item>
      <title>Re:  Python 3.5.1 script won't run via Windows Task Scheduler when user logged off</title>
      <link>https://community.esri.com/t5/python-questions/python-3-5-1-script-won-t-run-via-windows-task/m-p/356991#M28118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AGOL named user, and yep I have it set to stay logged in.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 17:25:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-3-5-1-script-won-t-run-via-windows-task/m-p/356991#M28118</guid>
      <dc:creator>ShelbyZelonisRoberson</dc:creator>
      <dc:date>2017-06-23T17:25:48Z</dc:date>
    </item>
    <item>
      <title>Re:  Python 3.5.1 script won't run via Windows Task Scheduler when user logged off</title>
      <link>https://community.esri.com/t5/python-questions/python-3-5-1-script-won-t-run-via-windows-task/m-p/356992#M28119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We had an issue with Desktop (ie arcpy python 2.7) where the user had to be logged in. Arcpy would fail to initialize. The fix was to set up the user with a concurrent license and then all worked with the user logged off setting. Esri support didn't help us much either on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does your organization have a concurrent license server? That maybe the way to get this working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Jun 2017 00:09:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-3-5-1-script-won-t-run-via-windows-task/m-p/356992#M28119</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2017-06-25T00:09:42Z</dc:date>
    </item>
    <item>
      <title>Re:  Python 3.5.1 script won't run via Windows Task Scheduler when user logged off</title>
      <link>https://community.esri.com/t5/python-questions/python-3-5-1-script-won-t-run-via-windows-task/m-p/356993#M28120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting. I'm using concurrent licensing for ArcMap, and all my python scripts work for that setup. My Pro license is Named User. I guess I could try switching my Pro license to concurrent?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2017 11:54:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-3-5-1-script-won-t-run-via-windows-task/m-p/356993#M28120</guid>
      <dc:creator>ShelbyZelonisRoberson</dc:creator>
      <dc:date>2017-06-26T11:54:08Z</dc:date>
    </item>
    <item>
      <title>Re:  Python 3.5.1 script won't run via Windows Task Scheduler when user logged off</title>
      <link>https://community.esri.com/t5/python-questions/python-3-5-1-script-won-t-run-via-windows-task/m-p/356994#M28121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I switched my Pro license to concurrent and tried scheduling the script again; it still will not worked with the option checked "run whether user is logged on or not".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2017 12:52:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-3-5-1-script-won-t-run-via-windows-task/m-p/356994#M28121</guid>
      <dc:creator>ShelbyZelonisRoberson</dc:creator>
      <dc:date>2017-06-26T12:52:52Z</dc:date>
    </item>
    <item>
      <title>Re:  Python 3.5.1 script won't run via Windows Task Scheduler when user logged off</title>
      <link>https://community.esri.com/t5/python-questions/python-3-5-1-script-won-t-run-via-windows-task/m-p/356995#M28122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunate. Since Esri apparently doesn't wish to the support this.... &amp;nbsp;Here's the bug&amp;nbsp;number from Desktop:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;NIM066910 -&amp;nbsp;A script run from the &lt;SPAN class=""&gt;Task&lt;/SPAN&gt; &lt;SPAN class=""&gt;Scheduler&lt;/SPAN&gt; with the setting, ‘run whether user is logged on or not’ fails to initialize &lt;SPAN class=""&gt;ArcPy&lt;/SPAN&gt; when a single-use license is used.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2017 16:31:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-3-5-1-script-won-t-run-via-windows-task/m-p/356995#M28122</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2017-06-26T16:31:03Z</dc:date>
    </item>
    <item>
      <title>Re:  Python 3.5.1 script won't run via Windows Task Scheduler when user logged off</title>
      <link>https://community.esri.com/t5/python-questions/python-3-5-1-script-won-t-run-via-windows-task/m-p/356996#M28123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. I wrote back to Tech Support basically begging them for any ideas/help since I'm pretty convinced this has to do with ArcGIS Pro. I'll post the resolution if I ever find one.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2017 16:38:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-3-5-1-script-won-t-run-via-windows-task/m-p/356996#M28123</guid>
      <dc:creator>ShelbyZelonisRoberson</dc:creator>
      <dc:date>2017-06-26T16:38:46Z</dc:date>
    </item>
    <item>
      <title>Re:  Python 3.5.1 script won't run via Windows Task Scheduler when user logged off</title>
      <link>https://community.esri.com/t5/python-questions/python-3-5-1-script-won-t-run-via-windows-task/m-p/356997#M28124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is something about a Windows task scheduler shell that is different. For sure your mapped drives don't show up in that environment, but I think the problems importing arcpy may have to do with licensing issues. Until we tried concurrent import arcpy would fail with a NotInitialized error.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2017 17:08:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-3-5-1-script-won-t-run-via-windows-task/m-p/356997#M28124</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2017-06-26T17:08:06Z</dc:date>
    </item>
    <item>
      <title>Re:  Python 3.5.1 script won't run via Windows Task Scheduler when user logged off</title>
      <link>https://community.esri.com/t5/python-questions/python-3-5-1-script-won-t-run-via-windows-task/m-p/356998#M28125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shelby,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just tried your workflow and it worked fine for me. Here are the particulars of my test:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;License as Concurrent use (&lt;/STRONG&gt;connecting to a license manager)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Python script:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;import arcpy&lt;BR /&gt;&lt;BR /&gt;p = arcpy.mp.ArcGISProject("C:\\arcgisserver\\documents\\GPService\\ProGPPDS.aprx")&lt;BR /&gt;layout = p.listLayouts()[0]&lt;BR /&gt;layout.exportToPNG("c:/temp/KEVIN.PNG")&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Task scheduler settings:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Run whether user is logged on or not&lt;/LI&gt;&lt;LI&gt;Do not store password is UNCHECKED (I entered my password when I made the task)&lt;/LI&gt;&lt;LI&gt;Configured for Windows 2016 (and 2008, I created two tasks)&lt;/LI&gt;&lt;LI&gt;Occurs at: just a time I set for today, then logged off&amp;nbsp;before it ran&lt;/LI&gt;&lt;LI&gt;Starts program: &amp;nbsp; &amp;nbsp;C:\ArcGIS\bin\Python\envs\arcgispro-py3\python.exe&lt;/LI&gt;&lt;LI&gt;Argument: &amp;nbsp;&amp;nbsp;C:\PythonStuff\ExportPNG.py&lt;/LI&gt;&lt;LI&gt;No other settings configured&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like I said, I logged out. Let the task run. Came back and have c:\temp\kevin.png waiting for me.&lt;/P&gt;&lt;P&gt;Checking the history of the task I see that it ran successfully.&lt;/P&gt;&lt;P&gt;Task Scheduler successfully finished "{d7f8189f-2cd6-4fb2-b465-95e91a6464c7}" instance of the "\KEVIN - python export PNG" task for user "domain\kevin".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note - this is using Pro 2.0 (which will be available to you soon). I really dont think there is any difference between 1.4 and 2.0 in regards to this workflow.&lt;/P&gt;&lt;P&gt;If this continues to&amp;nbsp;&lt;EM&gt;not work&lt;/EM&gt; for you, can you provide more information. Such as your script, messages from the task scheduler, task scheduler settings, etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2017 18:17:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-3-5-1-script-won-t-run-via-windows-task/m-p/356998#M28125</guid>
      <dc:creator>KevinHibma</dc:creator>
      <dc:date>2017-06-26T18:17:10Z</dc:date>
    </item>
    <item>
      <title>Re:  Python 3.5.1 script won't run via Windows Task Scheduler when user logged off</title>
      <link>https://community.esri.com/t5/python-questions/python-3-5-1-script-won-t-run-via-windows-task/m-p/356999#M28126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Windows Server 2012 had other GIS (ArcGIS Server services) issues associated with it as reported on geonet today, so maybe that is where the problem lies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2017 18:21:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-3-5-1-script-won-t-run-via-windows-task/m-p/356999#M28126</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2017-06-26T18:21:30Z</dc:date>
    </item>
    <item>
      <title>Re:  Python 3.5.1 script won't run via Windows Task Scheduler when user logged off</title>
      <link>https://community.esri.com/t5/python-questions/python-3-5-1-script-won-t-run-via-windows-task/m-p/357000#M28127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Kevin. My testing workflow is exactly the same as yours except I configured for 2012 and 2008 instead of 2016. Maybe I do need Pro 2.0... I am in the Beta testing group but for a named user license, my license manager for concurrent licensing only gave me the option to go up to 1.4.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2017 18:22:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-3-5-1-script-won-t-run-via-windows-task/m-p/357000#M28127</guid>
      <dc:creator>ShelbyZelonisRoberson</dc:creator>
      <dc:date>2017-06-26T18:22:31Z</dc:date>
    </item>
    <item>
      <title>Re:  Python 3.5.1 script won't run via Windows Task Scheduler when user logged off</title>
      <link>https://community.esri.com/t5/python-questions/python-3-5-1-script-won-t-run-via-windows-task/m-p/357001#M28128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Focus your efforts with concurrent or single use license. If you're using named user.... it&amp;nbsp;&lt;EM&gt;should&lt;/EM&gt; work, the big unknown is if the "app" is still logged in. There is a period of time that the license should remain valid. However, since you're not logged in and have an active windows session, you cant guarantee that you're logged in. If you license singe use or concurrent, when you "import arcpy" from the script all the bits and pieces just get the license from the computer or network and all should work just fine (like you see it working from ArcMap).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And yes, its possible its an OS level setting. I dont have a Win2012 machine to put Pro on (I just went to 2016). I'll see if I can find a colleague to help test on that. &amp;nbsp;I assume you're using your domain account to run the task? Or a local account on &amp;nbsp;the machine?&lt;/P&gt;&lt;P&gt;Its also possible its a 1.4 issue fixed in 2.0 -- although I did a quick sweep of bugs and didn't see anything. (If it was a fixed bug, its very possible I missed it in the quick search I did.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2017 18:28:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-3-5-1-script-won-t-run-via-windows-task/m-p/357001#M28128</guid>
      <dc:creator>KevinHibma</dc:creator>
      <dc:date>2017-06-26T18:28:33Z</dc:date>
    </item>
    <item>
      <title>Re:  Python 3.5.1 script won't run via Windows Task Scheduler when user logged off</title>
      <link>https://community.esri.com/t5/python-questions/python-3-5-1-script-won-t-run-via-windows-task/m-p/357002#M28129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Kevin - any testing is greatly appreciated. I've tried it with both Named User (and I've made sure that Pro automatically signs me in) and Concurrent licensing and get the same results each time. I'm not using my specific domain account but a domain account that was specifically set up to do things like schedule tasks on servers. I use the same account to run the Python 2.7/ArcMap scripts with no issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jun 2017 10:50:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-3-5-1-script-won-t-run-via-windows-task/m-p/357002#M28129</guid>
      <dc:creator>ShelbyZelonisRoberson</dc:creator>
      <dc:date>2017-06-27T10:50:39Z</dc:date>
    </item>
  </channel>
</rss>

