删除文件定时任务修改

This commit is contained in:
cwchen 2025-04-14 09:28:45 +08:00
parent bdf8e4e1da
commit 713d63dcc4
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ public class DeleteFileTask {
* 删除文件定时任务
* 使用 cron 表达式指定每十分钟执行一次
*/
@Scheduled(cron = "0 0/5 * ? * *")
@Scheduled(cron = "0 0/10 * ? * *")
@SchedulerLock(name = "StationMonthTask", lockAtMostFor = SCHEDULER_LOCK_MAX, lockAtLeastFor = SCHEDULER_LOCK_MIN)
@Async
public void getHomeCacheTask() {