@@ -31,7 +31,7 @@ public class AuditBakPathCapCheck {
/**
* 每5分钟执行执行一次
*/
- @Scheduled(cron = "2 0/5 * * * ?")
+ @Scheduled(cron = "5 0/5 * * * ?")
public void auditCheck() throws Exception {
DecimalFormat df = new DecimalFormat("#.00");//设置保留两位小数
@@ -34,7 +34,7 @@ public class AutoScanMemory {
* 每30分钟执行一次扫描
- @Scheduled(cron = "0 0/5 * * * ?")
+ @Scheduled(cron = "9 0/5 * * * ?")
public void scanMemory() throws Exception{
SysPolicy sysPolicy = sysPolicyService.getOne(new QueryWrapper<>());
try {