Ale*_* B. 0 alfresco alfresco-share alfresco-webscripts alfresco-enterprise
我的Alfresco 5.1服务器在存储库和旧的工作流实例中有一些未使用的内容。
我将使用 UI Alfresco Share/scripts 删除此内容。
干净的 repo 将用作数据库 Alfresco 的模板(它的目录data+ db)。
我知道标准作业直到从垃圾箱中删除ContentStoreCleanerTrigger内容14 天后才会将内容从 移动contentstore到contentstore.deleted目录。这提供了安全网,以防内容被无意删除。
此外,作业NodeServiceCleanupTrigger每天运行并从数据库中清除与已删除节点相关的信息(我不知道是否也有一些保护日)。
我想在清除垃圾桶之前更改此行为,但找不到文档。否则我将不得不等待很长时间才能将删除的文件移动到contentstore.deleted.
我如何设置作业保护天数值ContentStoreCleanerTrigger,NodeServiceCleanupTrigger?
任何帮助,将不胜感激。
谷歌指向官方文档:清理孤立内容(清除)但我会推荐托尼的博客:了解露天内容删除
简而言之:在 alfresco-global.properties 中设置参数
# keep content 14 days before cleaning up
system.content.orphanProtectDays=14
# don't move the content to contentstore.deleted - just delete it!
system.content.eagerOrphanCleanup=true
Run Code Online (Sandbox Code Playgroud)