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:
Mark Hibbins
2014-05-19 11:23:44 +00:00
parent 21c6136eae
commit ae9a33f4a7
2 changed files with 10 additions and 4 deletions

View File

@@ -49,3 +49,8 @@ rm.autocompletesuggestion.maxsuggestions.node=5
rm.autocompletesuggestion.maxsuggestions.date=5 rm.autocompletesuggestion.maxsuggestions.date=5
# Comma separated list of types/aspects to be used by the node parameter autocomplete suggester # Comma separated list of types/aspects to be used by the node parameter autocomplete suggester
rm.autocompletesuggestion.nodeParameterSuggester.aspectsAndTypes=rma:record,cm:content rm.autocompletesuggestion.nodeParameterSuggester.aspectsAndTypes=rma:record,cm:content
#
# Global RM disposition lifecycle trigger cron job expression
#
rm.dispositionlifecycletrigger.cronexpression=* 0/5 * * * ?

View File

@@ -72,15 +72,15 @@
<bean id="dispositionLifecycleJobExecuter" <bean id="dispositionLifecycleJobExecuter"
class="org.alfresco.module.org_alfresco_module_rm.job.DispositionLifecycleJobExecuter" class="org.alfresco.module.org_alfresco_module_rm.job.DispositionLifecycleJobExecuter"
parent="baseRMJobExecuter"> parent="baseRMJobExecuter">
<!-- list of disposition actions to automatically execute when eligible --> <!-- list of disposition actions to automatically execute when eligible -->
<property name="dispositionActions"> <property name="dispositionActions">
<list> <list>
<value>cutoff</value> <value>cutoff</value>
<value>retain</value> <value>retain</value>
</list> </list>
</property> </property>
<property name="nodeService" ref="nodeService" /> <property name="nodeService" ref="nodeService" />
<property name="searchService" ref="searchService" /> <property name="searchService" ref="searchService" />
<property name="recordsManagementActionService" ref="recordsManagementActionService" /> <property name="recordsManagementActionService" ref="recordsManagementActionService" />
@@ -95,7 +95,8 @@
</property> </property>
<property name="cronExpression"> <property name="cronExpression">
<!-- <value>0 30 3 * * ?</value> --> <!-- <value>0 30 3 * * ?</value> -->
<value>0/30 * * * * ?</value> <!-- <value>0/30 * * * * ?</value> -->
<value>${rm.dispositionlifecycletrigger.cronexpression}</value>
</property> </property>
</bean> </bean>