- Shut down the Alfresco server.
Locate and edit the alfresco-global.properties file in
the <classpathRoot> directory.
For information about modifying the alfresco-global.properties file, see Modifying the global properties file.
Add two configurations to the alfresco-global.properties file, where
the number in startDelayMins= is the number of minutes you want to delay
your job. In this example, the delay length is 2 minutes:
activities.feed.cleaner.cronExpression=0/1 * * * * ? activities.feed.cleaner.startDelayMins=2
Extend the dev-log4j.properties with a new configuration in
the <classpathRoot>/alfresco/extension directory:
This file will override subsystem settings that are not applicable in alfresco-global.properties. For more information about log4j extensions, see log4j.properties file.
Start the Alfresco server.
After the specified interval, the FeedCleaner trace logs will be generated. In the example, the logs will start after two minutes.
You are here
Deferring the start of cron based jobs
Sending feedback to the Alfresco documentation team