|
@@ -104,23 +104,23 @@ public class HomeController {
|
|
|
pushController.everyDayPushSend();
|
|
|
}
|
|
|
|
|
|
- // @Scheduled(cron = "31 * * * * *", zone = "Asia/Seoul")
|
|
|
- // public void sendTask2() {
|
|
|
- // pushController.selectSendPushList();
|
|
|
- // pushController.everyDayPushSend();
|
|
|
- // }
|
|
|
+ @Scheduled(cron = "31 * * * * *", zone = "Asia/Seoul")
|
|
|
+ public void sendTask2() {
|
|
|
+ pushController.selectSendPushList();
|
|
|
+ pushController.everyDayPushSend();
|
|
|
+ }
|
|
|
|
|
|
//
|
|
|
-// @Scheduled(cron = "16 * * * * *", zone = "Asia/Seoul")
|
|
|
-// public void sendTask3() {
|
|
|
-// pushController.selectSendPushList();
|
|
|
-// pushController.everyDayPushSend();
|
|
|
-// }
|
|
|
-//
|
|
|
-// @Scheduled(cron = "46 * * * * *", zone = "Asia/Seoul")
|
|
|
-// public void sendTask4() {
|
|
|
-// pushController.selectSendPushList();
|
|
|
-// pushController.everyDayPushSend();
|
|
|
-// }
|
|
|
+ @Scheduled(cron = "16 * * * * *", zone = "Asia/Seoul")
|
|
|
+ public void sendTask3() {
|
|
|
+ pushController.selectSendPushList();
|
|
|
+ pushController.everyDayPushSend();
|
|
|
+ }
|
|
|
+
|
|
|
+ @Scheduled(cron = "46 * * * * *", zone = "Asia/Seoul")
|
|
|
+ public void sendTask4() {
|
|
|
+ pushController.selectSendPushList();
|
|
|
+ pushController.everyDayPushSend();
|
|
|
+ }
|
|
|
|
|
|
}
|