|
@@ -34,7 +34,7 @@ public class AutoScanMemory {
|
|
/**
|
|
/**
|
|
* 每30分钟执行一次扫描
|
|
* 每30分钟执行一次扫描
|
|
*/
|
|
*/
|
|
- @Scheduled(cron = "0 0/5 * * * ?")
|
|
|
|
|
|
+ @Scheduled(cron = "9 0/5 * * * ?")
|
|
public void scanMemory() throws Exception{
|
|
public void scanMemory() throws Exception{
|
|
SysPolicy sysPolicy = sysPolicyService.getOne(new QueryWrapper<>());
|
|
SysPolicy sysPolicy = sysPolicyService.getOne(new QueryWrapper<>());
|
|
try {
|
|
try {
|