Commit 7de9f1e1afce32e8412b8451895ad884aad7a57d
1 parent
34a7eeb5
移除测试代码
Showing
1 changed file
with
2 additions
and
2 deletions
src/main/java/top/panll/assist/service/FileManagerTimer.java
| ... | ... | @@ -37,8 +37,8 @@ public class FileManagerTimer { |
| 37 | 37 | |
| 38 | 38 | private final String keyStr = "MERGEORCUT"; |
| 39 | 39 | |
| 40 | - @Scheduled(fixedDelay = 2000) //测试 20秒执行一次 | |
| 41 | -// @Scheduled(cron = "0 0 0 * * ?") //每天的0点执行 | |
| 40 | +// @Scheduled(fixedDelay = 2000) //测试 20秒执行一次 | |
| 41 | + @Scheduled(cron = "0 0 0 * * ?") //每天的0点执行 | |
| 42 | 42 | public void execute(){ |
| 43 | 43 | int recordDay = userSettings.getRecordDay(); |
| 44 | 44 | Date lastDate=new Date(); | ... | ... |