mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
RM-1345, Changed frequency that the disposition lifecycle runs to every five minutes by default and moved the cron expression setting to the global properties
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@70769 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -49,3 +49,8 @@ rm.autocompletesuggestion.maxsuggestions.node=5
|
||||
rm.autocompletesuggestion.maxsuggestions.date=5
|
||||
# Comma separated list of types/aspects to be used by the node parameter autocomplete suggester
|
||||
rm.autocompletesuggestion.nodeParameterSuggester.aspectsAndTypes=rma:record,cm:content
|
||||
|
||||
#
|
||||
# Global RM disposition lifecycle trigger cron job expression
|
||||
#
|
||||
rm.dispositionlifecycletrigger.cronexpression=* 0/5 * * * ?
|
||||
|
@@ -72,15 +72,15 @@
|
||||
<bean id="dispositionLifecycleJobExecuter"
|
||||
class="org.alfresco.module.org_alfresco_module_rm.job.DispositionLifecycleJobExecuter"
|
||||
parent="baseRMJobExecuter">
|
||||
|
||||
<!-- list of disposition actions to automatically execute when eligible -->
|
||||
|
||||
<!-- list of disposition actions to automatically execute when eligible -->
|
||||
<property name="dispositionActions">
|
||||
<list>
|
||||
<value>cutoff</value>
|
||||
<value>retain</value>
|
||||
</list>
|
||||
</property>
|
||||
|
||||
|
||||
<property name="nodeService" ref="nodeService" />
|
||||
<property name="searchService" ref="searchService" />
|
||||
<property name="recordsManagementActionService" ref="recordsManagementActionService" />
|
||||
@@ -95,7 +95,8 @@
|
||||
</property>
|
||||
<property name="cronExpression">
|
||||
<!-- <value>0 30 3 * * ?</value> -->
|
||||
<value>0/30 * * * * ?</value>
|
||||
<!-- <value>0/30 * * * * ?</value> -->
|
||||
<value>${rm.dispositionlifecycletrigger.cronexpression}</value>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
|
Reference in New Issue
Block a user