|
|
@@ -1,12 +1,13 @@
|
|
|
package com.style24.batch.biz.task;
|
|
|
|
|
|
-import com.style24.batch.biz.job.marketing.TsbAutoBuyConfirmJob;
|
|
|
-import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.scheduling.annotation.Async;
|
|
|
-import org.springframework.scheduling.annotation.Scheduled;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
+import com.style24.batch.biz.job.marketing.TsbAutoBuyConfirmJob;
|
|
|
+
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
|
+
|
|
|
/**
|
|
|
*
|
|
|
* 마케팅 Task
|
|
|
@@ -27,7 +28,7 @@ public class TsbMarketingTask {
|
|
|
* @since 2021. 04. 23
|
|
|
*/
|
|
|
//@Scheduled(cron = "${cron.marketing.auto.buy.confirm}")
|
|
|
- @Scheduled(fixedDelay=360000)
|
|
|
+ // @Scheduled(fixedDelay=360000)
|
|
|
@Async
|
|
|
public void autoBuyConfirmJob() throws Exception {
|
|
|
autoBuyConfirmJob.runById("cron.marketing.auto.buy.confirm");
|