@Scheduled(cron = "30 * * * * ?")
现在改成了半分钟执行一次,但是项目启动后没执行,看了一下控制台,显示的还是原来的时间
2020-02-25 16:43:04 , 305 DEBUG QuartzSchedulerThread - batch acquisition of 0 triggers
2020-02-25 16:43:04 , 306 DEBUG Scans - Found 3 resource by src( com/yjg/quartz/job/ ) , regex( ^.+[.]class$ )
2020-02-25 16:43:04 , 306 DEBUG NutQuartzCronJobFactory - job define name=com.yjg.quartz.job.GenerateReportFormJob cron=0 0 18 * * ?
添加回复
请先登陆