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