Commit 23fb7de5 authored by 黎博's avatar 黎博

修改定时任务时间

parent d4b5d7c8
...@@ -32,7 +32,7 @@ public class DbSyncTask { ...@@ -32,7 +32,7 @@ public class DbSyncTask {
private String password; private String password;
// @Scheduled(cron = "0 0 24 * * ?") // @Scheduled(cron = "0 0 24 * * ?")
@Scheduled(cron = "0 20 16 * * ?") @Scheduled(cron = "0 15 15 * * ?")
public void getDbInfoFromSourceJob() { public void getDbInfoFromSourceJob() {
List<String> dbList = databaseSyncService.getDatabaseList(ip, port, username, password); List<String> dbList = databaseSyncService.getDatabaseList(ip, port, username, password);
for (String dbName: dbList) { for (String dbName: dbList) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment