@SCHEDULED(CRON = "0 0 * * * ?")实现定时任务
//每一个小时执行一次@Scheduled(cron = “0 0 * * * ?”) public void saveDailyScoreScheduled() { try { logger.info(“loadDeviceEvents start>>>>” + new Date()); loadDeviceEvents(ZonedDateTime.now()...
原创
2018-04-19 09:20:23 ·
29057 阅读 ·
2 评论