From b58ecfd8befdd12cc746f922fa3162a43edea947 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B9=E5=90=89=E6=AC=A2?= Date: Fri, 27 Oct 2017 10:59:58 +0800 Subject: [PATCH] update config --- .../src/main/resources/applicationContext.xml | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/fangjia-job/fangjia-job-fsh/src/main/resources/applicationContext.xml b/fangjia-job/fangjia-job-fsh/src/main/resources/applicationContext.xml index 8d6db8b..82e99dc 100644 --- a/fangjia-job/fangjia-job-fsh/src/main/resources/applicationContext.xml +++ b/fangjia-job/fangjia-job-fsh/src/main/resources/applicationContext.xml @@ -28,7 +28,7 @@ - + com.fangjia.job.fsh.po @@ -39,11 +39,11 @@ base-sleep-time-milliseconds="1000" max-sleep-time-milliseconds="3000" max-retries="3" /> - + + sharding-total-count="1" cron="0 1 0 * * ?" sharding-item-parameters="0=1" + failover="true" description="【房生活】企业统计任务,每天0点1分开始执行,主要统计企业相关的数据,统计内容参考 EnterpriseStat" + overwrite="true" event-trace-rdb-data-source="elasticJobLog" job-exception-handler="com.fangjia.job.fsh.handler.CustomJobExceptionHandler"> @@ -52,8 +52,8 @@ + failover="true" description="【房生活】用户维度统计任务,统计出用户的房产,置换,贷款等信息 UserStatJob" + overwrite="true" event-trace-rdb-data-source="elasticJobLog" job-exception-handler="com.fangjia.job.fsh.handler.CustomJobExceptionHandler"> @@ -62,8 +62,8 @@ + failover="true" description="【房生活】房产月涨幅通知任务, 每个月1号触发,目前计算逻辑在服务端" + overwrite="true" event-trace-rdb-data-source="elasticJobLog" job-exception-handler="com.fangjia.job.fsh.handler.CustomJobExceptionHandler"> @@ -72,8 +72,8 @@ + failover="true" description="【房生活】房产租金提醒任务,每天触发一次,逻辑在服务端" + overwrite="true" event-trace-rdb-data-source="elasticJobLog" job-exception-handler="com.fangjia.job.fsh.handler.CustomJobExceptionHandler"> @@ -82,8 +82,8 @@ + failover="true" description="【房生活】房产每周一定时估价任务,逻辑在服务端,同时需要算出周涨幅通知" + overwrite="true" event-trace-rdb-data-source="elasticJobLog" job-exception-handler="com.fangjia.job.fsh.handler.CustomJobExceptionHandler">