shedlock Questions
6
I added ShedLock to my project to prevent working of scheduled job more than one time. I configured it like below but I'm getting
"org.postgresql.util.PSQLException: ERROR: relation "shed...
Venerate asked 29/9, 2021 at 17:1
2
Solved
I know ShedLock could be used to do distributed lock integrated with Spring as:
@Scheduled(cron = "*/5 * * * * ?")
@SchedulerLock(name = "exampleLock", lockAtLeastForString = "20000", lockAtMost...
Restharrow asked 28/8, 2019 at 11:20
4
Solved
Can any one please explain about timing defined in lockAtLeastFor and lockAtMostFor. what is PT1M45S and what other parameters it can accept.
@Scheduled(cron = "0 0/2 * * * *")
@SchedulerLock(na...
Boxing asked 28/4, 2020 at 9:58
1
Solved
I use spring boot and somewhere in code I have following code:
@SchedulerLock(name = "onlineIngestionTask", lockAtMostFor = 900, lockAtLeastFor = 900)
public void pullTasksFromRemote() throws Int...
Locklin asked 11/2, 2019 at 10:54
1
© 2022 - 2025 — McMap. All rights reserved.