|
@@ -36,9 +36,9 @@ public class TElecdashboardRealtimeController {
|
|
|
private TElecdashboardAlarmService tElecdashboardAlarmService;
|
|
|
|
|
|
/**
|
|
|
- * 每5秒抓取实时数据,存入数据库
|
|
|
+ * 每15分钟抓取实时数据,存入数据库
|
|
|
*/
|
|
|
- @Scheduled(cron = "*/5 * * * * ?" )
|
|
|
+ @Scheduled(cron = "0 */15 * * * ?" )
|
|
|
public void getExcelDataEvery5Seconds(){
|
|
|
DashboardDataPullUtils dashboardDataPullUtils = new DashboardDataPullUtils();
|
|
|
// 抓取实时数据
|