SUPPORT-9561: fix job
This commit is contained in:
parent
3566526d68
commit
53e75c4755
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ public class ExcerptCleanScheduler {
|
|||
this.excerptHistoryDao = excerptHistoryDao;
|
||||
}
|
||||
|
||||
@Scheduled(cron = "${excerpt.cleanup.cron:0 */30 * * * *}")
|
||||
@Scheduled(fixedDelayString = "${excerpt.cleanup.delay:30000}")
|
||||
@SchedulerLock(name = "oldExcerptFilesCleaning")
|
||||
public void cleanOld() {
|
||||
excerptHistoryDao.deleteOld();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue