From: <jbo...@li...> - 2006-05-08 14:38:40
|
Author: aron.gombas Date: 2006-05-08 10:38:34 -0400 (Mon, 08 May 2006) New Revision: 4136 Modified: labs/kosmos/trunk/web-server/WEB-INF/kosmos-services-servlet.xml Log: Sample config for CRON scheduler Modified: labs/kosmos/trunk/web-server/WEB-INF/kosmos-services-servlet.xml =================================================================== --- labs/kosmos/trunk/web-server/WEB-INF/kosmos-services-servlet.xml 2006-05-08 14:38:11 UTC (rev 4135) +++ labs/kosmos/trunk/web-server/WEB-INF/kosmos-services-servlet.xml 2006-05-08 14:38:34 UTC (rev 4136) @@ -141,7 +141,16 @@ <property name="startDelay" value="7200000"/><!-- start and repeat in every 2 hours --> <property name="repeatInterval" value="7200000"/> </bean> + <!-- + Alternatively, a cron-style trigger can be used. + For this, remove the previous bean definition and use this one: + <bean id="serviceResultUpdateTrigger" class="org.springframework.scheduling.quartz.CronTriggerBean"> + <property name="jobDetail" ref="serviceResultUpdaterJob"/> + <property name="cronExpression" value="0 0 6 * * ?"/> + </bean> + --> + <bean class="org.springframework.scheduling.quartz.SchedulerFactoryBean"> <property name="triggers"> <list> @@ -155,9 +164,11 @@ <property name="webdavUrl" value="http://localhost:8080/slide/files"/><!-- Both HTTP and HTTPS protocol can be used here. --> <property name="webdavUser" value=""/> <property name="webdavPassword" value=""/> - <!-- This URL will be used as base URL for the generated images. - If you don't specify anything here, the value of "webdavUrl" - will be used. Uncomment this, if you want to override that. + <!-- + This URL will be used as base URL for the generated images. + If you don't specify anything here, the value of "webdavUrl" + will be used. Uncomment this, if you want to override that. + <property name="clientUrl" value="http://myserver/my-webdav/kosmos-images"/> --> </bean> |