Commit 794c7288 by huluobin

订单sku

parent 780167ab
......@@ -2,7 +2,7 @@ package com.bailuntec;
import com.alibaba.druid.pool.DruidDataSource;
import com.bailuntec.job.OrderSyncJob;
import com.bailuntec.job.OrderSyncJob30;
import com.bailuntec.job.OrderSyncTask;
import com.bailuntec.listener.OrderSyncJobListener;
import com.bailuntec.utils.PropertiesUtil;
import com.dangdang.ddframe.job.config.JobCoreConfiguration;
......@@ -63,7 +63,7 @@ public class Application {
propertiesUtil.getPropertyAsString("JOB_COROUTINE_NAME"),
propertiesUtil.getPropertyAsString("JOB_COROUTINE_CRON"),
propertiesUtil.getPropertyAsInt("SHARDING_TOTAL_COUNT")).build();
SimpleJobConfiguration simpleJobConfig = new SimpleJobConfiguration(simpleCoreConfig, OrderSyncJob.class.getCanonicalName());
SimpleJobConfiguration simpleJobConfig = new SimpleJobConfiguration(simpleCoreConfig, OrderSyncTask.class.getCanonicalName());
return LiteJobConfiguration.newBuilder(simpleJobConfig).build();
}
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -18,5 +18,5 @@ JOB_NAME30=base-sync-oms-skus30
JOB_CRON30=0 0 22,23,00 * * ? *
JOB_COROUTINE_NAME=base-sync-oms-order-task
JOB_COROUTINE_CRON=0 35 16 * * ?
JOB_COROUTINE_CRON=0 05 17 * * ?
SHARDING_TOTAL_COUNT=1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment