Przeglądaj źródła

배치 전시 커밋

bin2107 5 lat temu
rodzic
commit
1567ac272e

+ 1 - 1
src/main/java/com/style24/batch/biz/task/TsbCategoryTask.java

@@ -46,7 +46,7 @@ public class TsbCategoryTask {
      * @throws Exception
      * @throws Exception
      */
      */
     @Scheduled(cron = "${cron.display.refreshCate4srchJob}")
     @Scheduled(cron = "${cron.display.refreshCate4srchJob}")
-    @Scheduled(fixedDelay = 3500000)
+    //@Scheduled(fixedDelay = 3500000)
     @Async
     @Async
     public void tsbRefreshCate4srchJob() throws Exception {
     public void tsbRefreshCate4srchJob() throws Exception {
         categoryStockJob.runById("cron.display.refreshCate4srchJob");
         categoryStockJob.runById("cron.display.refreshCate4srchJob");

+ 2 - 2
src/main/java/com/style24/persistence/mybatis/shop/TsbDisplay.xml

@@ -9,8 +9,8 @@
     </delete>
     </delete>
 
 
     <!-- cate4srch 생성 -->
     <!-- cate4srch 생성 -->
-    <insert id="createCategory4Srch">
-        /* TsbDisplay.createCategory4Srch */
+    <insert id="createCate4srch">
+        /* TsbDisplay.createCate4srch */
         INSERT INTO TB_CATE_4SRCH (
         INSERT INTO TB_CATE_4SRCH (
                                     SITE_CD
                                     SITE_CD
                                   , CATE_GB
                                   , CATE_GB

+ 2 - 3
src/main/resources/config/application-locd.yml

@@ -94,6 +94,5 @@ cron:
 
 
     #전시
     #전시
     display :
     display :
-        #refreshCate4srchJob: 0 0 0/1 1/1 * ? *
-        #refreshCate4srchJob: 0 50 17 1/1 * ? *
-        refreshCate4srchJob : 0 52 18 * * ?
+        #refreshCate4srchJob: 0 10 * * * ?
+        refreshCate4srchJob : 2 22 2 29 2 ?