Commit a347d4b1 authored by 陈宏杰's avatar 陈宏杰

增量定时任务停止

parent 78563ded
...@@ -45,7 +45,7 @@ public class QuantGroupZhuDaiReportToBaiHang { ...@@ -45,7 +45,7 @@ public class QuantGroupZhuDaiReportToBaiHang {
// @Async // @Async
//@Scheduled(cron = "0 0 05 * * ?") //@Scheduled(cron = "0 0 05 * * ?")
@Scheduled(cron = "0 0 03 * * ?") // @Scheduled(cron = "0 0 03 * * ?")
public void startZhuDaiReport(){ public void startZhuDaiReport(){
if(increment()){ if(increment()){
redisTemplate.expire(Constant.QG_ZHU_DAI_REPORT_LOCK_KEY, 10, TimeUnit.SECONDS); redisTemplate.expire(Constant.QG_ZHU_DAI_REPORT_LOCK_KEY, 10, TimeUnit.SECONDS);
......
...@@ -57,7 +57,7 @@ public class BaiHangFileReportService { ...@@ -57,7 +57,7 @@ public class BaiHangFileReportService {
@Autowired @Autowired
public RepaymentLoanInfoDbMapper repaymentLoanInfoDbMapper; public RepaymentLoanInfoDbMapper repaymentLoanInfoDbMapper;
private static final String HOST_PATH = "/home/quantgroup/reportFile/"; private static final String HOST_PATH = "/home/quant_group/reportFile/";
// private static final String HOST_PATH = "C:\\Users\\musterHunter\\Desktop\\TEST_REPORT\\"; // private static final String HOST_PATH = "C:\\Users\\musterHunter\\Desktop\\TEST_REPORT\\";
......
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