Home > Back-end >  About spring time often does not perform tasks
About spring time often does not perform tasks

Time:09-23

The 2018-07-30 19:38:00, 000 [11] qbScheduler - INFO information (run) : 1532950680000
The 2018-07-30 19:38:02, 132 [11] qbScheduler - INFO information/run over, time-consuming: 2132 ms
19:39:00 2018-07-30, 000 [11] qbScheduler - INFO rates [run] : 1532950740000
The 2018-07-30 19:39:02, 606 [11] qbScheduler - INFO over, time-consuming: 2606 ms
The 2018-07-30 19:40:00, 000 [12] qbScheduler - INFO information (run) : 1532950800000
The 2018-07-30 19:40:01, 282 [12] qbScheduler - INFO - information/run over, time-consuming: 1282 ms
19:41:00 2018-07-30, 000 [12] qbScheduler - INFO - information [run] : 1532950860000
More timing task execution time configuration at the same time the following
& lt; Task: the annotation - driven scheduler="qbScheduler" mode="proxy"/& gt;
& lt; Task: the scheduler id="qbScheduler" pool - size="20"/& gt;
Annotation type @ Scheduled (cron="0 0/1 * * *?" () @ Scheduled cron="0 0/4 * * *?" 0/50) @ Scheduled (cron=0 "* * *?" ) three methods HTTPS requests other websites within the run start without end log the task does not run, other normal run

19:41:00 2018-07-30, 000 [12] qbScheduler - INFO - information [run] : 1532950860000
19:41:00 2018-07-30, 000 [12] qbScheduler - INFO - information [run] : 1532950860000

CodePudding user response:

May call remote address exception occurred

CodePudding user response:

Whether there is something wrong with the website, can change the other website ran down, see will not have this kind of situation, so you can determine what is the problem

CodePudding user response:

There is no question about the target site

CodePudding user response:

CodePudding user response:

@ EnableScheduling put this annotation, above to start the class
  • Related