AnsweredAssumed Answered

Alfresco Trashcan Cron Not Working

Question asked by suayb58 on Aug 19, 2018
Latest reply on Aug 23, 2018 by suayb58

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 no files in trash can be deleted.alfresco.log record in alfresco.log:

 

2018-08-19 22:56:00,051 DEBUG [org.alfresco.trashcan.TrashcanCleaner] [DefaultScheduler_Worker-2] Running TrashcanCleaner
2018-08-19 22:56:00,082 DEBUG [org.alfresco.trashcan.TrashcanCleaner] [DefaultScheduler_Worker-2] Found 11 nodes on trashcan
2018-08-19 22:56:00,082 DEBUG [org.alfresco.trashcan.TrashcanCleaner] [DefaultScheduler_Worker-2] Number of nodes to delete: 0
2018-08-19 22:56:00,082 DEBUG [org.alfresco.trashcan.TrashcanCleaner] [DefaultScheduler_Worker-2] Nodes deleted
2018-08-19 22:56:00,082 DEBUG [org.alfresco.trashcan.TrashcanCleaner] [DefaultScheduler_Worker-2] TrashcanCleaner finished

 

number of deletes is 0.but it found 11 nodes on trashan.why these nodes are not being deleted? How can I solve this problem?

Outcomes