|
@@ -1,9 +1,5 @@
|
|
|
package com.style24.batch.biz.task;
|
|
package com.style24.batch.biz.task;
|
|
|
|
|
|
|
|
-
|
|
|
|
|
-import com.style24.batch.biz.job.marketing.TsbCombackCouponNoticeJob;
|
|
|
|
|
-import com.style24.batch.biz.job.marketing.TsbExpectCouponJob;
|
|
|
|
|
-
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.scheduling.annotation.Async;
|
|
import org.springframework.scheduling.annotation.Async;
|
|
|
import org.springframework.scheduling.annotation.Scheduled;
|
|
import org.springframework.scheduling.annotation.Scheduled;
|
|
@@ -18,6 +14,8 @@ import com.style24.batch.biz.job.customer.TsbPrivacyPolicyNoticeJob;
|
|
|
import com.style24.batch.biz.job.customer.TsbSecedeProcessJob;
|
|
import com.style24.batch.biz.job.customer.TsbSecedeProcessJob;
|
|
|
import com.style24.batch.biz.job.marketing.TsbAutoBuyConfirmJob;
|
|
import com.style24.batch.biz.job.marketing.TsbAutoBuyConfirmJob;
|
|
|
import com.style24.batch.biz.job.marketing.TsbBirthdayCouponNoticeJob;
|
|
import com.style24.batch.biz.job.marketing.TsbBirthdayCouponNoticeJob;
|
|
|
|
|
+import com.style24.batch.biz.job.marketing.TsbCombackCouponNoticeJob;
|
|
|
|
|
+import com.style24.batch.biz.job.marketing.TsbExpectCouponJob;
|
|
|
import com.style24.batch.biz.job.marketing.TsbExpectGiftcardJob;
|
|
import com.style24.batch.biz.job.marketing.TsbExpectGiftcardJob;
|
|
|
import com.style24.batch.biz.job.marketing.TsbExpectPointJob;
|
|
import com.style24.batch.biz.job.marketing.TsbExpectPointJob;
|
|
|
import com.style24.batch.biz.job.marketing.TsbExpireGiftcardJob;
|
|
import com.style24.batch.biz.job.marketing.TsbExpireGiftcardJob;
|
|
@@ -247,6 +245,7 @@ public class TsbCustomerTask {
|
|
|
* @since 2021. 05. 20
|
|
* @since 2021. 05. 20
|
|
|
*/
|
|
*/
|
|
|
@Scheduled(cron = "${cron.customer.giftcard.expire}")
|
|
@Scheduled(cron = "${cron.customer.giftcard.expire}")
|
|
|
|
|
+ // @Scheduled(fixedDelay = 3500000)
|
|
|
@Async
|
|
@Async
|
|
|
public void giftcardExpireJob() throws Exception {
|
|
public void giftcardExpireJob() throws Exception {
|
|
|
expireGiftcardJob.runById("cron.customer.giftcard.expire");
|
|
expireGiftcardJob.runById("cron.customer.giftcard.expire");
|