<?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 Controlling Job Cleanup Time for Append Operations in ArcGIS Python API/REST API in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/controlling-job-cleanup-time-for-append-operations/m-p/1602662#M41959</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm using the append operation on a feature service layer (hosted) using either the ArcGIS REST API or the Python API. Example response from the ArcGIS REST API documentation:&amp;nbsp;&lt;A href="https://machine.domain.com/webadaptor/rest/services/USA/FeatureServer/0/append/jobs/b62e9db7-507c-443d-3473-8a1f7a7e9fac?f=json" target="_blank"&gt;https://machine.domain.com/webadaptor/rest/services/USA/FeatureServer/0/append/jobs/b62e9db7-507c-443d-3473-8a1f7a7e9fac?f=json&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you use future=True with the Python API this will return a Future object. However, I'm finding the job is being cleaned up too quickly (around 3 minutes). So, when I go back to query the Future object it raises an exception.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm wondering is there a setting to control how long these jobs stay on the server? They don't seem to fall under either geoprocessing or administrative jobs which you can view through Server Manager.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Links&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/append-feature-service-layer/" target="_blank"&gt;Append (Feature Service/Layer) | ArcGIS REST APIs | ArcGIS Developers&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/python/latest/api-reference/arcgis.features.toc.html#arcgis.features.FeatureLayer.append" target="_blank"&gt;arcgis.features module | ArcGIS API for Python&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Apr 2025 08:26:03 GMT</pubDate>
    <dc:creator>fmcintosh</dc:creator>
    <dc:date>2025-04-04T08:26:03Z</dc:date>
    <item>
      <title>Controlling Job Cleanup Time for Append Operations in ArcGIS Python API/REST API</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/controlling-job-cleanup-time-for-append-operations/m-p/1602662#M41959</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm using the append operation on a feature service layer (hosted) using either the ArcGIS REST API or the Python API. Example response from the ArcGIS REST API documentation:&amp;nbsp;&lt;A href="https://machine.domain.com/webadaptor/rest/services/USA/FeatureServer/0/append/jobs/b62e9db7-507c-443d-3473-8a1f7a7e9fac?f=json" target="_blank"&gt;https://machine.domain.com/webadaptor/rest/services/USA/FeatureServer/0/append/jobs/b62e9db7-507c-443d-3473-8a1f7a7e9fac?f=json&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you use future=True with the Python API this will return a Future object. However, I'm finding the job is being cleaned up too quickly (around 3 minutes). So, when I go back to query the Future object it raises an exception.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm wondering is there a setting to control how long these jobs stay on the server? They don't seem to fall under either geoprocessing or administrative jobs which you can view through Server Manager.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Links&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/append-feature-service-layer/" target="_blank"&gt;Append (Feature Service/Layer) | ArcGIS REST APIs | ArcGIS Developers&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/python/latest/api-reference/arcgis.features.toc.html#arcgis.features.FeatureLayer.append" target="_blank"&gt;arcgis.features module | ArcGIS API for Python&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2025 08:26:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/controlling-job-cleanup-time-for-append-operations/m-p/1602662#M41959</guid>
      <dc:creator>fmcintosh</dc:creator>
      <dc:date>2025-04-04T08:26:03Z</dc:date>
    </item>
  </channel>
</rss>

