<?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 arcpy.env.ScratchWorkspace is not using arcgisjobs dir in 11.3 in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/arcpy-env-scratchworkspace-is-not-using-arcgisjobs/m-p/1567829#M27483</link>
    <description>&lt;P&gt;On server 11.3 Scratch Workspace is not giving back the job dir from arcgisjobs dir.&amp;nbsp; Instead it is giving and writing to AppData under the user name.&amp;nbsp; This dir is not part of the cleanup schedule and is growing over time.&lt;/P&gt;&lt;P&gt;arcpy.AddMessage("Scratch Workspace " + arcpy.env.scratchWorkspace)&lt;/P&gt;&lt;P&gt;Scratch Workspace C:\Users\serveruser~1\AppData\Local\Temp\aim\speedtest_gpserver\j9b2d66b7a00d4a8696d2fe7973da3ba4\scratch&lt;/P&gt;&lt;P&gt;The post here shows it should be my arcgisjobs dir right?&amp;nbsp;&amp;nbsp;&lt;A href="https://community.esri.com/t5/python-questions/geoprocessing-service-to-return-a-file/td-p/522062" target="_blank"&gt;https://community.esri.com/t5/python-questions/geoprocessing-service-to-return-a-file/td-p/522062&lt;/A&gt;&amp;nbsp; &amp;nbsp;I remember seeing this happen in the past I think.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DougBrowning_0-1734019739560.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/121568iFBDD3402C60BCA1E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DougBrowning_0-1734019739560.png" alt="DougBrowning_0-1734019739560.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;DougBrowning_0-1734019739560.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am even seeing it create the jobs dir with a scratch folder in the arcgisjobs folder and even a scratch GDB but it does not use it.&amp;nbsp; I can find no way in script to find this jobs dir either?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DougBrowning_0-1734018741952.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/121565i4B31220082466BC4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DougBrowning_0-1734018741952.png" alt="DougBrowning_0-1734018741952.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;DougBrowning_0-1734018741952.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Why is it not using arcgisjobs as configured both in the GP tool and in the server settings?&amp;nbsp; Is this a bug of some sort?&amp;nbsp; I cannot figure out how I can even get the job dir in script if none of these work.&amp;nbsp; Scratch GDB is doing the same thing.&amp;nbsp;&amp;nbsp;Scratch Folder same deal it gives me the AppData dir and not the jobs dir.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
    <pubDate>Thu, 12 Dec 2024 16:09:33 GMT</pubDate>
    <dc:creator>DougBrowning</dc:creator>
    <dc:date>2024-12-12T16:09:33Z</dc:date>
    <item>
      <title>arcpy.env.ScratchWorkspace is not using arcgisjobs dir in 11.3</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arcpy-env-scratchworkspace-is-not-using-arcgisjobs/m-p/1567829#M27483</link>
      <description>&lt;P&gt;On server 11.3 Scratch Workspace is not giving back the job dir from arcgisjobs dir.&amp;nbsp; Instead it is giving and writing to AppData under the user name.&amp;nbsp; This dir is not part of the cleanup schedule and is growing over time.&lt;/P&gt;&lt;P&gt;arcpy.AddMessage("Scratch Workspace " + arcpy.env.scratchWorkspace)&lt;/P&gt;&lt;P&gt;Scratch Workspace C:\Users\serveruser~1\AppData\Local\Temp\aim\speedtest_gpserver\j9b2d66b7a00d4a8696d2fe7973da3ba4\scratch&lt;/P&gt;&lt;P&gt;The post here shows it should be my arcgisjobs dir right?&amp;nbsp;&amp;nbsp;&lt;A href="https://community.esri.com/t5/python-questions/geoprocessing-service-to-return-a-file/td-p/522062" target="_blank"&gt;https://community.esri.com/t5/python-questions/geoprocessing-service-to-return-a-file/td-p/522062&lt;/A&gt;&amp;nbsp; &amp;nbsp;I remember seeing this happen in the past I think.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DougBrowning_0-1734019739560.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/121568iFBDD3402C60BCA1E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DougBrowning_0-1734019739560.png" alt="DougBrowning_0-1734019739560.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;DougBrowning_0-1734019739560.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am even seeing it create the jobs dir with a scratch folder in the arcgisjobs folder and even a scratch GDB but it does not use it.&amp;nbsp; I can find no way in script to find this jobs dir either?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DougBrowning_0-1734018741952.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/121565i4B31220082466BC4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DougBrowning_0-1734018741952.png" alt="DougBrowning_0-1734018741952.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;DougBrowning_0-1734018741952.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Why is it not using arcgisjobs as configured both in the GP tool and in the server settings?&amp;nbsp; Is this a bug of some sort?&amp;nbsp; I cannot figure out how I can even get the job dir in script if none of these work.&amp;nbsp; Scratch GDB is doing the same thing.&amp;nbsp;&amp;nbsp;Scratch Folder same deal it gives me the AppData dir and not the jobs dir.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 16:09:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arcpy-env-scratchworkspace-is-not-using-arcgisjobs/m-p/1567829#M27483</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2024-12-12T16:09:33Z</dc:date>
    </item>
  </channel>
</rss>

