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
java scheduler task
原文:https://www.cnblogs.com/connie313/p/12501301.html