<?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: Does Alfresco have a job for cleanup tomcat/temp files? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/does-alfresco-have-a-job-for-cleanup-tomcat-temp-files/m-p/34609#M14612</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alfresco&amp;nbsp;Repository has a job that cleans temporary files that have been created using an Alfresco-specific API (TempFileProvider) for temporary files. This will affect only files in tomcat/temp/Alfresco. The job runs every 60 minutes and cleans all files that are 60 minutes or older. In the worst case, a temporary file may remain there for up to 119 minutes.&lt;/P&gt;&lt;P&gt;Other temporary files are not cleaned up by Alfresco.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Jul 2017 08:34:55 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2017-07-07T08:34:55Z</dc:date>
    <item>
      <title>Does Alfresco have a job for cleanup tomcat/temp files?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/does-alfresco-have-a-job-for-cleanup-tomcat-temp-files/m-p/34608#M14611</link>
      <description>Does Alfresco have a job for cleanup tomcat/temp files?</description>
      <pubDate>Fri, 07 Jul 2017 08:29:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/does-alfresco-have-a-job-for-cleanup-tomcat-temp-files/m-p/34608#M14611</guid>
      <dc:creator>kodermax</dc:creator>
      <dc:date>2017-07-07T08:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: Does Alfresco have a job for cleanup tomcat/temp files?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/does-alfresco-have-a-job-for-cleanup-tomcat-temp-files/m-p/34609#M14612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alfresco&amp;nbsp;Repository has a job that cleans temporary files that have been created using an Alfresco-specific API (TempFileProvider) for temporary files. This will affect only files in tomcat/temp/Alfresco. The job runs every 60 minutes and cleans all files that are 60 minutes or older. In the worst case, a temporary file may remain there for up to 119 minutes.&lt;/P&gt;&lt;P&gt;Other temporary files are not cleaned up by Alfresco.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2017 08:34:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/does-alfresco-have-a-job-for-cleanup-tomcat-temp-files/m-p/34609#M14612</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-07-07T08:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: Does Alfresco have a job for cleanup tomcat/temp files?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/does-alfresco-have-a-job-for-cleanup-tomcat-temp-files/m-p/34610#M14613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TempFileProvider also allows the creation of "&lt;A href="http://dev.alfresco.com/resource/AlfrescoOne/5.2/PublicAPI/org/alfresco/util/TempFileProvider.html" rel="nofollow noopener noreferrer"&gt;long life folders&lt;/A&gt;" that are deleted by default&amp;nbsp;after 24 hours&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2017 08:42:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/does-alfresco-have-a-job-for-cleanup-tomcat-temp-files/m-p/34610#M14613</guid>
      <dc:creator>mikel_asla</dc:creator>
      <dc:date>2017-07-07T08:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Does Alfresco have a job for cleanup tomcat/temp files?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/does-alfresco-have-a-job-for-cleanup-tomcat-temp-files/m-p/34611#M14614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can I configure this provider?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2017 08:51:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/does-alfresco-have-a-job-for-cleanup-tomcat-temp-files/m-p/34611#M14614</guid>
      <dc:creator>kodermax</dc:creator>
      <dc:date>2017-07-07T08:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: Does Alfresco have a job for cleanup tomcat/temp files?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/does-alfresco-have-a-job-for-cleanup-tomcat-temp-files/m-p/34612#M14615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes,&lt;/P&gt;&lt;P&gt;TempFileProvider is part of &lt;A href="https://github.com/Alfresco/alfresco-core/blob/master/src/main/java/org/alfresco/util/TempFileProvider.java#L347" rel="nofollow noopener noreferrer"&gt;alfresco-core&lt;/A&gt;&amp;nbsp;(which is not a good name btw for utility classes), that has a inner class defining the &lt;A href="http://docs.alfresco.com/community/references/dev-extension-points-scheduled-jobs.html" rel="nofollow noopener noreferrer"&gt;Scheduled Job&lt;/A&gt; that handles&amp;nbsp;temp files lifecycle. This Job is registered in &lt;A href="https://github.com/Alfresco/community-edition-old/blob/master/projects/repository/config/alfresco/scheduled-jobs-context.xml#L12" rel="nofollow noopener noreferrer"&gt;scheduled-jobs-context.xml&lt;/A&gt;&amp;nbsp;so you can override &lt;EM&gt;tempFileCleanerTrigger&lt;/EM&gt; bean to configure it&amp;nbsp;or even change the implementation if you need (sadly, long life folders are not handled by a cronExpression).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2017 09:20:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/does-alfresco-have-a-job-for-cleanup-tomcat-temp-files/m-p/34612#M14615</guid>
      <dc:creator>mikel_asla</dc:creator>
      <dc:date>2017-07-07T09:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: Does Alfresco have a job for cleanup tomcat/temp files?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/does-alfresco-have-a-job-for-cleanup-tomcat-temp-files/m-p/34613#M14616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, the provider is a static utility without configuration. The only thing you can technically configure is the cleanup process, though there are no reasonable configuration properties you can set via alfresco-global.properties. You'd have to override the default Spring bean definition to change how often the job runs.&amp;nbsp;The long life keep alive is hard-coded, and for the regular temporary file you can only configure the&amp;nbsp;protectHours, e.g. you cannot go below 60 minutes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2017 09:22:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/does-alfresco-have-a-job-for-cleanup-tomcat-temp-files/m-p/34613#M14616</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-07-07T09:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: Does Alfresco have a job for cleanup tomcat/temp files?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/does-alfresco-have-a-job-for-cleanup-tomcat-temp-files/m-p/34614#M14617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeay - answering at the same time. Though my answer starts with the opposite to "Yes", both responses cover the same aspects...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2017 09:24:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/does-alfresco-have-a-job-for-cleanup-tomcat-temp-files/m-p/34614#M14617</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-07-07T09:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Does Alfresco have a job for cleanup tomcat/temp files?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/does-alfresco-have-a-job-for-cleanup-tomcat-temp-files/m-p/34615#M14618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG src="https://connect.hyland.com/legacyfs/online/alfresco/emoticons/grin.png" /&gt;&amp;nbsp;I guess you&amp;nbsp;understood better the meaning of "Can I configure?"&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2017 09:31:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/does-alfresco-have-a-job-for-cleanup-tomcat-temp-files/m-p/34615#M14618</guid>
      <dc:creator>mikel_asla</dc:creator>
      <dc:date>2017-07-07T09:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: Does Alfresco have a job for cleanup tomcat/temp files?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/does-alfresco-have-a-job-for-cleanup-tomcat-temp-files/m-p/34616#M14619</link>
      <description>&lt;P&gt;yes, they are helping but not that much &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 07:03:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/does-alfresco-have-a-job-for-cleanup-tomcat-temp-files/m-p/34616#M14619</guid>
      <dc:creator>erkut3512</dc:creator>
      <dc:date>2022-12-23T07:03:59Z</dc:date>
    </item>
  </channel>
</rss>

