File tree Expand file tree Collapse file tree 2 files changed +3
-18
lines changed
springboot-schedule/src/main
java/com/xncoding/pos/jobs Expand file tree Collapse file tree 2 files changed +3
-18
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ public class HeartbeatJob {
2727 /**
2828 * 检查状态1
2929 */
30- @ Scheduled (cron = "0 26 19 * * ?" )
30+ @ Scheduled (cron = "0 30 12 * * ?" )
3131 public void checkState1 () {
3232 logger .info (">>>>> cron中午12:30上传检查开始...." );
3333 logger .info (">>>>> cron中午12:30上传检查完成...." );
@@ -36,7 +36,7 @@ public void checkState1() {
3636 /**
3737 * 检查状态2
3838 */
39- @ Scheduled (cron = "0 05 18 * * ?" )
39+ @ Scheduled (cron = "0 0 18 * * ?" )
4040 public void checkState2 () {
4141 logger .info (">>>>> cron晚上18:00上传检查开始...." );
4242 logger .info (">>>>> cron晚上18:00上传检查完成...." );
Original file line number Diff line number Diff line change @@ -20,20 +20,5 @@ logging:
2020 ROOT : INFO
2121 com :
2222 xncoding : DEBUG
23- file : E :/logs/app.log
23+ file : D :/logs/app.log
2424
25- ---
26-
27- # ####################################################################
28- # ####################### 测试环境profile ##########################
29- # ####################################################################
30-
31- spring :
32- profiles : test
33-
34- logging :
35- level :
36- ROOT : INFO
37- com :
38- xncoding : DEBUG
39- file : /var/logs/app.log
You can’t perform that action at this time.
0 commit comments