fixed schedule lock in webdav service
This commit is contained in:
parent
518796e74b
commit
c3c4c22d8d
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ public class WebDavSchedulerService {
|
|||
}
|
||||
|
||||
@Scheduled(cron = "${webdav.cleanup.cron:0 0 0 * * *}")
|
||||
@SchedulerLock
|
||||
@SchedulerLock(name = "webDavOldFilesCleaning")
|
||||
public void deleteOldFiles() {
|
||||
Arrays.stream(urls).forEach(url -> {
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue