This page last changed on Apr 24, 2010 by smaddox.

You can configure Confluence to perform the daily updates at a time that is best suited to you or your organisational needs.

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:
  1. Go to the Confluence 'Administration Console'. To do this:

    • Open the 'Browse' menu and select 'Confluence Admin'. The 'Administrator Access' login screen will be displayed.
    • Enter your password and click 'Confirm'. You will be temporarily logged into a secure session to access the 'Administration Console'.
  2. 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 report, you will need to edit the Quartz configuration.

To change the time of your daily reports

  1. Open the Quartz configuration file schedulingSubsystemContext.xml located under confluence/WEB-INF/lib/confluence-x.x.x.jar. Where x.x.x is your Confluence version number.

  2. Find the following section of the file:

    <bean id="dailyReportTrigger" class="org.springframework.scheduling.quartz.CronTriggerBean">
            <property name="jobDetail">
                <ref bean="dailyReportJob"/>
            </property>
            <property name="cronExpression">
                <value>0 0 0 * * ?</value>
            </property>
        </bean>
    


  3. The string '0 0 0 * * ?' sets up a Cron Trigger for the job to run at the zeroth second of the zeroth minute of the 0th hour (midnight), every day of every month, every day of the week.

  4. Re-jar the file, either with a zip utility (change the title of .zip back to .jar) or a java command.

  5. 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

  6. Restart Confluence.
For example, to set the new time to twenty past ten PM, change the string to '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.

RELATED TOPICS
Document generated by Confluence on Jul 09, 2010 01:11