|
@@ -79,19 +79,19 @@ public class HomeController {
|
|
|
* 16초 46초
|
|
|
* 매분 지정한 초 마다
|
|
|
*/
|
|
|
- @Scheduled(cron = "*/5 * * * * *", zone = "Asia/Seoul")
|
|
|
+ @Scheduled(cron = "01 * * * * *", zone = "Asia/Seoul")
|
|
|
public void sendTask1() {
|
|
|
pushController.selectSendPushList();
|
|
|
pushController.everyDayPushSend();
|
|
|
}
|
|
|
|
|
|
-// /**
|
|
|
-// * 매분 지정한 초 마다
|
|
|
-// */
|
|
|
-// @Scheduled(cron = "47 * * * * *", zone = "Asia/Seoul")
|
|
|
-// public void sendTask2() {
|
|
|
-// pushController.selectSendPushList();
|
|
|
-// pushController.everyDayPushSend();
|
|
|
-// }
|
|
|
+ /**
|
|
|
+ * 매분 지정한 초 마다
|
|
|
+ */
|
|
|
+ @Scheduled(cron = "31 * * * * *", zone = "Asia/Seoul")
|
|
|
+ public void sendTask2() {
|
|
|
+ pushController.selectSendPushList();
|
|
|
+ pushController.everyDayPushSend();
|
|
|
+ }
|
|
|
|
|
|
}
|