Commit 39cd4967 authored by 黎博's avatar 黎博

修改定时任务时间

parent 47cc78c8
...@@ -16,7 +16,7 @@ public class DbSyncTask { ...@@ -16,7 +16,7 @@ public class DbSyncTask {
@Autowired @Autowired
JenkinsService jenkinsService; JenkinsService jenkinsService;
@Scheduled(cron = "0 0 12 * * ?") @Scheduled(cron = "0 0 24 * * ?")
public void getDbInfoFromSourceJob() { public void getDbInfoFromSourceJob() {
jenkinsService.buildDbDailyBackupJob(); jenkinsService.buildDbDailyBackupJob();
} }
......
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