离线数据上传
This commit is contained in:
@@ -67,11 +67,11 @@ public class ReportCovertJob {
|
||||
|
||||
|
||||
/**
|
||||
* 每小时同步oracle数据库暂态事件
|
||||
* 每天同步influxdb数据到mysql
|
||||
*
|
||||
* @date 2024/3/5
|
||||
*/
|
||||
@Scheduled(cron = "0 0/10 * * * ?")
|
||||
@Scheduled(cron = "0 0 1 * * ? ")
|
||||
public void executeEvent() throws ClassNotFoundException {
|
||||
LocalDate today = LocalDate.now().minusDays(3);
|
||||
// 计算前一天的日期
|
||||
|
||||
Reference in New Issue
Block a user