Confluence 2.10 has reached end of life
Check out the [latest version] of the documentation
The index cron job is located in <install dir>\confluence\WEB-INF\classes\schedulingSubsystemContext.xml or <install dir>\confluence\WEB-INF\lib\confluence-2.x.y.jar\schedulingSubsystemContext.xml. You want to change indexQueueFlushTrigger. If the file is in the jar archive, learn how to modify it.
Time is derived from the Confluence server
The time zone is taken from the server on which Confluence is running. To check the time according to the server, do the following:
Go to the Confluence 'Administration Console'. To do this:
- Open the 'Browse' menu and select 'Confluence Admin'. The 'Administration Console' view will open.
- Click 'System Information' in the left-hand panel and look at the 'System Time'.
Confluence uses Quartz for scheduling periodic jobs. To change the time of your daily backup, you will need to edit the Quartz configuration.
To change the time of your daily backup
- Open the Quartz configuration file
schedulingSubsystemContext.xmllocated underconfluence/WEB-INF/lib/confluence-x.x.x.jar. Where x.x.x is your Confluence version number.
- Find the following section of the file:
<bean id="indexQueueFlushTrigger" class="org.springframework.scheduling.quartz.CronTriggerBean"> <property name="jobDetail"> <ref bean="indexQueueFlushJob"/> </property> <property name="cronExpression"> <value>0 0/5 * * * ?</value> </property> </bean> - The string
'0 0/5 * * * ?'sets up a Cron Trigger for the job to run every 5 minutes.
- Re-jar the file, either with a zip utility (change the title of .zip back to .jar) or a java command.
- You can set a new time by editing this string. Note that the date and time format in this configuration file is in this order:
Second minute hour day
- Restart Confluence.
'0 20 22 * * ?'.
For complete details on the formatting of the cron string, please see http://www.opensymphony.com/quartz/api/org/quartz/CronTrigger.html.
Overview
Content Tools
Apps
