<?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: Alfresco Trashcan Cron Not Working in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-trashcan-cron-not-working/m-p/59531#M21038</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,i&amp;nbsp; tried&amp;nbsp;-P1D.&amp;nbsp;&lt;SPAN lang="en"&gt;this criterion works fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Aug 2018 08:20:54 GMT</pubDate>
    <dc:creator>suayb58</dc:creator>
    <dc:date>2018-08-23T08:20:54Z</dc:date>
    <item>
      <title>Alfresco Trashcan Cron Not Working</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-trashcan-cron-not-working/m-p/59527#M21034</link>
      <description>Hello,Everyone.i want to delete trashan every 30 minute using trashcan cron.i pasted that in alfresco.properties file:trashcan-cleaner.cron=0 0/30 * * * ?trashcan cron is starting.but&amp;nbsp;no files in trash can be deleted.alfresco.log record in alfresco.log:2018-08-19 22:56:00,051 DEBUG [org.alfresco.tra</description>
      <pubDate>Sun, 19 Aug 2018 20:11:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-trashcan-cron-not-working/m-p/59527#M21034</guid>
      <dc:creator>suayb58</dc:creator>
      <dc:date>2018-08-19T20:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Trashcan Cron Not Working</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-trashcan-cron-not-working/m-p/59528#M21035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The nodes might not be getting deleted as they dont pass the criteria of&amp;nbsp;daysToKeep parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can configure this param to tell cleaner about number of days deleted docs to be kept in trash can. For e.g. if you configure it as 7,&amp;nbsp;it will remove content from the trashcan and mark them as orphan if a content has been in the trashcan for more than 7 days.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To delete from the trashcan without waiting any grace period set the trashcan.daysToKeep property value to -1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2018 06:18:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-trashcan-cron-not-working/m-p/59528#M21035</guid>
      <dc:creator>hardik1512</dc:creator>
      <dc:date>2018-08-21T06:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Trashcan Cron Not Working</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-trashcan-cron-not-working/m-p/59529#M21036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I added this&amp;nbsp;criteria&amp;nbsp;in alfresco global properties.&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;trashcan cron is starting.but&amp;nbsp;no files in trash can be deleted again .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;added criteria&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;in alfresco-global.properties file&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;trashcan-cleaner.cron=0 0/4 * * * ?&lt;BR /&gt;trashcan.daysToKeep=-1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;log record in alfresco.log&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2018-08-21 16:24:00,107 DEBUG [org.alfresco.trashcan.TrashcanCleaner] [DefaultScheduler_Worker-4] Running TrashcanCleaner&lt;BR /&gt;2018-08-21 16:24:00,155 DEBUG [org.alfresco.trashcan.TrashcanCleaner] [DefaultScheduler_Worker-4] Found 11 nodes on trashcan&lt;BR /&gt;2018-08-21 16:24:00,156 DEBUG [org.alfresco.trashcan.TrashcanCleaner] [DefaultScheduler_Worker-4] Number of nodes to delete: 0&lt;BR /&gt;2018-08-21 16:24:00,156 DEBUG [org.alfresco.trashcan.TrashcanCleaner] [DefaultScheduler_Worker-4] Nodes deleted&lt;BR /&gt;2018-08-21 16:24:00,159 DEBUG [org.alfresco.trashcan.TrashcanCleaner] [DefaultScheduler_Worker-4] TrashcanCleaner finished&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2018 13:31:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-trashcan-cron-not-working/m-p/59529#M21036</guid>
      <dc:creator>suayb58</dc:creator>
      <dc:date>2018-08-21T13:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Trashcan Cron Not Working</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-trashcan-cron-not-working/m-p/59530#M21037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;trashcan-cleaner.keepPeriod : Specifies the period for which trashcan items are kept (in the java.time.Duration format).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try&amp;nbsp;&lt;SPAN style="color: #58595b; background-color: #ffffff;"&gt;P-1D OR -P1D. Is this doesn't work, you need to do some research for specifying in duration format.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2018 07:33:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-trashcan-cron-not-working/m-p/59530#M21037</guid>
      <dc:creator>hardik1512</dc:creator>
      <dc:date>2018-08-23T07:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Trashcan Cron Not Working</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-trashcan-cron-not-working/m-p/59531#M21038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,i&amp;nbsp; tried&amp;nbsp;-P1D.&amp;nbsp;&lt;SPAN lang="en"&gt;this criterion works fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2018 08:20:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-trashcan-cron-not-working/m-p/59531#M21038</guid>
      <dc:creator>suayb58</dc:creator>
      <dc:date>2018-08-23T08:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Trashcan Cron Not Working</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-trashcan-cron-not-working/m-p/59532#M21039</link>
      <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried the same thing in galfresco-global.properties&lt;/P&gt;&lt;P&gt;trashcan-cleaner.cron=0 0/5 * * * ?&lt;BR /&gt;trashcan-cleaner.keepPeriod=P1D&lt;BR /&gt;trashcan-cleaner.deleteBatchCount=1000&lt;/P&gt;&lt;P&gt;with my dockerized Alfresco 6&lt;/P&gt;&lt;P&gt;but nothing happens&amp;nbsp; &amp;nbsp;the cron doesn't fire&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you help ??&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2019 11:12:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-trashcan-cron-not-working/m-p/59532#M21039</guid>
      <dc:creator>Fameur2019</dc:creator>
      <dc:date>2019-10-17T11:12:35Z</dc:date>
    </item>
  </channel>
</rss>

