NutzCN Logo
问答 关于quartz执行问题
发布于 2526天前 作者 文涛(wentao) 1807 次浏览 复制 上一个帖子 下一个帖子
标签:

配置如下

@Scheduled(cron = "* 15 0 * * ?")

到了0点15分开始执行,但是看日志反馈貌似有好几个线程在同时执行同一个任务,请问要怎么处理
日志如下(感觉好几个线程在执行):

2018-01-23-00-15 [DefaultQuartzScheduler_Worker-8] [tool.iptv.quartz.PayInput] [INFO] - 导入文件数据:iptv_reconcile_2017-10-01.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-5] [tool.iptv.quartz.PayInput] [INFO] - 导入文件数据:iptv_reconcile_2017-10-01.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-9] [tool.iptv.quartz.PayInput] [INFO] - 导入文件数据:iptv_reconcile_2017-10-01.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-4] [tool.iptv.quartz.PayInput] [INFO] - 导入文件数据:iptv_reconcile_2017-10-01.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-7] [tool.iptv.quartz.PayInput] [INFO] - 导入文件数据:iptv_reconcile_2017-10-01.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-3] [tool.iptv.quartz.PayInput] [INFO] - 导入文件数据:iptv_reconcile_2017-10-01.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-1] [tool.iptv.quartz.PayInput] [INFO] - 导入文件数据:iptv_reconcile_2017-10-01.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-6] [tool.iptv.quartz.PayInput] [INFO] - 导入文件数据:iptv_reconcile_2017-10-01.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-8] [tool.iptv.quartz.PayInput] [INFO] - 导入文件数据:iptv_reconcile_2018-01-18.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-10] [tool.iptv.quartz.PayInput] [INFO] - 导入文件数据:iptv_reconcile_2018-01-18.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-2] [tool.iptv.quartz.PayInput] [INFO] - 导入文件数据:iptv_reconcile_2018-01-18.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-9] [tool.iptv.quartz.PayInput] [INFO] - 导入文件数据:iptv_reconcile_2018-01-18.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-4] [tool.iptv.quartz.PayInput] [INFO] - 导入文件数据:iptv_reconcile_2018-01-18.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-5] [tool.iptv.quartz.PayInput] [INFO] - 导入文件数据:iptv_reconcile_2018-01-18.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-7] [tool.iptv.quartz.PayInput] [INFO] - 导入文件数据:iptv_reconcile_2018-01-18.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-3] [tool.iptv.quartz.PayInput] [INFO] - 导入文件数据:iptv_reconcile_2018-01-18.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-1] [tool.iptv.quartz.PayInput] [INFO] - 导入文件数据:iptv_reconcile_2018-01-18.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-6] [tool.iptv.quartz.PayInput] [INFO] - 导入文件数据:iptv_reconcile_2018-01-18.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-8] [tool.iptv.quartz.PayInput] [INFO] - 导入文件数据:iptv_reconcile_2018-01-04.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-9] [tool.iptv.quartz.PayInput] [INFO] - 导入文件数据:iptv_reconcile_2018-01-04.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-7] [tool.iptv.quartz.PayInput] [INFO] - 导入文件数据:iptv_reconcile_2018-01-04.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-3] [tool.iptv.quartz.PayInput] [INFO] - 导入文件数据:iptv_reconcile_2018-01-04.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-5] [tool.iptv.quartz.PayInput] [INFO] - 导入文件数据:iptv_reconcile_2018-01-04.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-4] [tool.iptv.quartz.PayInput] [INFO] - 导入文件数据:iptv_reconcile_2018-01-04.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-2] [tool.iptv.quartz.PayInput] [INFO] - 导入文件数据:iptv_reconcile_2018-01-04.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-5] [tool.iptv.quartz.PayInput] [INFO] - 智能跳过...iptv_reconcile_2017-11-12.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-8] [tool.iptv.quartz.PayInput] [INFO] - 智能跳过...iptv_reconcile_2017-11-13.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-9] [tool.iptv.quartz.PayInput] [INFO] - 智能跳过...iptv_reconcile_2018-01-19.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-1] [tool.iptv.quartz.PayInput] [INFO] - 智能跳过...iptv_reconcile_2018-01-08.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-8] [tool.iptv.quartz.PayInput] [INFO] - 智能跳过...iptv_reconcile_2017-10-29.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-10] [tool.iptv.quartz.PayInput] [INFO] - 智能跳过...iptv_reconcile_2017-10-20.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-2] [tool.iptv.quartz.PayInput] [INFO] - 智能跳过...iptv_reconcile_2018-01-17.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-6] [tool.iptv.quartz.PayInput] [INFO] - 智能跳过...iptv_reconcile_2017-11-04.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-4] [tool.iptv.quartz.PayInput] [INFO] - 智能跳过...iptv_reconcile_2017-11-19.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-10] [tool.iptv.quartz.PayInput] [INFO] - 智能跳过...iptv_reconcile_2018-01-17.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-8] [tool.iptv.quartz.PayInput] [INFO] - 智能跳过...iptv_reconcile_2017-11-06.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-1] [tool.iptv.quartz.PayInput] [INFO] - 智能跳过...iptv_reconcile_2017-10-15.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-9] [tool.iptv.quartz.PayInput] [INFO] - 智能跳过...iptv_reconcile_2017-11-10.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-10] [tool.iptv.quartz.PayInput] [INFO] - 智能跳过...iptv_reconcile_2017-11-15.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-4] [tool.iptv.quartz.PayInput] [INFO] - 智能跳过...iptv_reconcile_2017-12-16.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-6] [tool.iptv.quartz.PayInput] [INFO] - 智能跳过...iptv_reconcile_2017-10-21.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-2] [tool.iptv.quartz.PayInput] [INFO] - 智能跳过...iptv_reconcile_2017-11-15.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-6] [tool.iptv.quartz.PayInput] [INFO] - 智能跳过...iptv_reconcile_2017-11-09.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-2] [tool.iptv.quartz.PayInput] [INFO] - 智能跳过...iptv_reconcile_2017-12-08.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-5] [tool.iptv.quartz.PayInput] [INFO] - 智能跳过...iptv_reconcile_2018-01-13.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-2] [tool.iptv.quartz.PayInput] [INFO] - 智能跳过...iptv_reconcile_2017-11-04.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-6] [tool.iptv.quartz.PayInput] [INFO] - 智能跳过...iptv_reconcile_2017-12-24.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-4] [tool.iptv.quartz.PayInput] [INFO] - 智能跳过...iptv_reconcile_2017-11-24.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-1] [tool.iptv.quartz.PayInput] [INFO] - 智能跳过...iptv_reconcile_2017-10-23.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-8] [tool.iptv.quartz.PayInput] [INFO] - 智能跳过...iptv_reconcile_2017-10-12.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-4] [tool.iptv.quartz.PayInput] [INFO] - 智能跳过...iptv_reconcile_2018-01-02.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-8] [tool.iptv.quartz.PayInput] [INFO] - 智能跳过...iptv_reconcile_2017-11-26.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-9] [tool.iptv.quartz.PayInput] [INFO] - 智能跳过...iptv_reconcile_2017-12-06.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-6] [tool.iptv.quartz.PayInput] [INFO] - 智能跳过...iptv_reconcile_2017-12-15.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-2] [tool.iptv.quartz.PayInput] [INFO] - 智能跳过...iptv_reconcile_2017-10-21.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-5] [tool.iptv.quartz.PayInput] [INFO] - 智能跳过...iptv_reconcile_2017-12-03.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-2] [tool.iptv.quartz.PayInput] [INFO] - 智能跳过...iptv_reconcile_2017-11-09.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-8] [tool.iptv.quartz.PayInput] [INFO] - 智能跳过...iptv_reconcile_2017-11-08.csv
2018-01-23-00-15 [DefaultQuartzScheduler_Worker-1] [tool.iptv.quartz.PayInput] [INFO] - 智能跳过...iptv_reconcile_2017-11-22.csv
2 回复

第一个星号改成0

。。。。 那个是每秒的意思吗?

添加回复
请先登陆
回到顶部