As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<bean id="programDeleteTrash" class="org.alfresco.repo.action.scheduled.CronScheduledQueryBasedTemplateActionDefinition"> <property name="transactionMode"> <value>UNTIL_FIRST_FAILURE</value> </property> <property name="compensatingActionMode"> <value>IGNORE</value> </property> <property name="searchService"> <ref bean="SearchService"/> </property> <property name="templateService"> <ref bean="TemplateService"/> </property> <property name="queryLanguage"> <value>lucene</value> </property> <property name="stores"> <list> <value>archive://SpacesStore</value> </list> </property> <!– Find all nodes that do not have the aspect –> <property name="queryTemplate"> <value>+ASPECT:"{http://www.alfresco.org/model/system/1.0}archived"</value> </property> <property name="cronExpression"> <value>0 0 15 ? * SAT</value> </property> <property name="jobName"> <value>jobB</value> </property> <property name="jobGroup"> <value>jobGroupB</value> </property> <property name="triggerName"> <value>triggerB</value> </property> <property name="triggerGroup"> <value>triggerGroupB</value> </property> <!– Inject the scheduler - the trigger will be registered with this scheduler –> <property name="scheduler"> <ref bean="schedulerFactory"/> </property> <property name="actionService"> <ref bean="ActionService"/> </property> <property name="templateActionModelFactory"> <ref bean="templateActionModelFactory"/> </property> <property name="templateActionDefinition"> <ref bean="deleteTrashActionScheduled"/> </property> <property name="transactionService"> <ref bean="TransactionService"/> </property> <property name="runAsUser"> <value>admin</value> </property> </bean>
<property name="queryTemplate"> <value>+ASPECT:"{http://www.alfresco.org/model/system/1.0}archived"</value> </property>
# # Properties to limit resources spent on individual searches # # The maximum time spent pruning results system.acl.maxPermissionCheckTimeMillis=10000 # The maximum number of results to perform permission checks against system.acl.maxPermissionChecks=1000