java scheduler task

1.TImer

2. Quartz

3. Sprint with config

4. spring boot+enableScheduling

** iin spring boot, spring boot schedule has be tobe used. if use quartz, will throw null-pointer exception

原文地址:https://www.cnblogs.com/connie313/p/12501301.html