修改注释部分
This commit is contained in:
parent
d68ceae87c
commit
0d950d24b9
|
|
@ -16,7 +16,7 @@ public class ScheduledTasks {
|
||||||
@Resource(name = "ISysLogService")
|
@Resource(name = "ISysLogService")
|
||||||
private ISysLogService service;
|
private ISysLogService service;
|
||||||
|
|
||||||
// 每5秒执行一次
|
// 每5分钟执行一次
|
||||||
@Scheduled(fixedRate = 300000)
|
@Scheduled(fixedRate = 300000)
|
||||||
public void taskWithFixedRate() {
|
public void taskWithFixedRate() {
|
||||||
service.logWarn();
|
service.logWarn();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue