Requirement: do a mission in a fixed period of time random time program, how to analysis, is to use a Java implementation,
CodePudding user response:

this problem well, familiar with ah, met yesterday with a thread pool the timing task to do, which estimate the implementation is bad to do
Quartz is very simple and can achieve,
Before modifying, once a second execution
Dynamic modification time the original start time + 3 s