|
@@ -71,8 +71,7 @@ public class LeanModelStatistics {
|
|
|
* 精益模型统计数据
|
|
|
* 执行完后,间隔1秒继续执行
|
|
|
*/
|
|
|
- @Scheduled(cron = "0 */1 * * * ?")
|
|
|
-// @Scheduled(cron = "*/30 * * * * ?")
|
|
|
+ @Scheduled(fixedDelay = 1000 * 60)
|
|
|
public void t1(){
|
|
|
leanModel();
|
|
|
}
|
|
@@ -81,7 +80,7 @@ public class LeanModelStatistics {
|
|
|
* 变更占比
|
|
|
* 0 0 03 * * * 每日3点执行 测试期间1ms一次
|
|
|
*/
|
|
|
- @Scheduled(cron = "0 0 03 * * ?")
|
|
|
+ @Scheduled(cron = "0 0 03 * * *")
|
|
|
// @Scheduled(fixedDelay = 1000)
|
|
|
public void t2(){
|
|
|
changeProportion();
|
|
@@ -90,8 +89,7 @@ public class LeanModelStatistics {
|
|
|
/**
|
|
|
* 设备启停统计数据
|
|
|
*/
|
|
|
- @Scheduled(cron = "0 */1 * * * ?")
|
|
|
-// @Scheduled(cron = "*/30 * * * * ?")
|
|
|
+ @Scheduled(fixedDelay = 1000 * 60)
|
|
|
public void t3(){
|
|
|
deviceStatistics();
|
|
|
}
|