Home > Back-end >  Used for springMvc @ Scheduled annotations timing tasks, performed after a few days are not carried
Used for springMvc @ Scheduled annotations timing tasks, performed after a few days are not carried

Time:03-03

For example:
Timing task from the start at 11 o 'clock in the morning to 11.22, 11.16 on zero during the normal data, from 22, zero to 22 does not perform during 9:00 this morning, after 9:00 and normal execution, execution time is respectively for 20 seconds, 30 seconds, 40 seconds at a time, there are three tasks), is the data to the database insert it every one hour, what error exception log all have no, so I don't know what reason

CodePudding user response:

This time there is no other task to run, the affected?

CodePudding user response:

Execution time is 20 seconds, 30 seconds, 40 seconds at a time, there are three tasks), data is inserted every hour to the database once,
What is this

CodePudding user response:

Suggest the next trigger first time to print it out, first to see if configuration problems

CodePudding user response:

If you have time conflict, why he is normal for a few days then a few hours of data, and then normal

CodePudding user response:

Execution time is 20 seconds, 30 seconds, 40 seconds at a time, there are three tasks), data is inserted every hour to the database once, is there are three methods,

CodePudding user response:

Configuration no problem, my project is more than one timer

CodePudding user response:

Have you found the problem? I also encountered such a situation, until thoroughly, midway suddenly have three or four days didn't perform, after the restart normal again,
  • Related