mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Externalize the nodeServiceCleanup CRON expression (#326)
This commit is contained in:
@@ -220,6 +220,8 @@ system.content.deletionFailureAction=IGNORE
|
|||||||
# The CRON expression to trigger the deletion of resources associated with orphaned content.
|
# The CRON expression to trigger the deletion of resources associated with orphaned content.
|
||||||
system.content.orphanCleanup.cronExpression=0 0 4 * * ?
|
system.content.orphanCleanup.cronExpression=0 0 4 * * ?
|
||||||
|
|
||||||
|
# The CRON expression to trigger the cleanup of deleted nodes and dangling transactions that are old enough
|
||||||
|
system.nodeServiceCleanup.cronExpression=0 0 21 * * ?
|
||||||
|
|
||||||
# When transforming archive files (.zip etc) into text representations (such as
|
# When transforming archive files (.zip etc) into text representations (such as
|
||||||
# for full text indexing), should the files within the archive be processed too?
|
# for full text indexing), should the files within the archive be processed too?
|
||||||
|
@@ -107,7 +107,7 @@
|
|||||||
</property>
|
</property>
|
||||||
</bean>
|
</bean>
|
||||||
<bean id="nodeServiceCleanupTrigger" class="org.springframework.scheduling.quartz.CronTriggerFactoryBean">
|
<bean id="nodeServiceCleanupTrigger" class="org.springframework.scheduling.quartz.CronTriggerFactoryBean">
|
||||||
<property name="cronExpression" value="0 0 21 * * ?"/>
|
<property name="cronExpression" value="${system.nodeServiceCleanup.cronExpression}"/>
|
||||||
<property name="startDelay" value="${system.cronJob.startDelayMilliseconds}"/>
|
<property name="startDelay" value="${system.cronJob.startDelayMilliseconds}"/>
|
||||||
<property name="jobDetail">
|
<property name="jobDetail">
|
||||||
<bean class="org.springframework.scheduling.quartz.JobDetailFactoryBean">
|
<bean class="org.springframework.scheduling.quartz.JobDetailFactoryBean">
|
||||||
|
Reference in New Issue
Block a user