10s定时更新执法仪设备状态
This commit is contained in:
parent
e581718c90
commit
3a3f166006
@ -64,7 +64,7 @@ public class Mcs8Task {
|
||||
/**
|
||||
* 定时更新执法仪设备状态
|
||||
*/
|
||||
@Scheduled(cron = "*/30 * * * * ?")
|
||||
@Scheduled(cron = "*/10 * * * * ?")
|
||||
@RequestMapping("updateStatus")
|
||||
public void updateStatus() {
|
||||
List<Project> projects = projectService.list();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user