quartz-schedulershedlock

Shedlock for locking Quartz scheduler


I am looking for a locking solution for my scheduled tasks. I cannot use the in-built Quartz mechanism as I am not using JDBC. I came across Shedlock, but it seems to be tightly integrated with Spring Scheduler. I also came across https://www.baeldung.com/shedlock-spring, which suggests that it is an alternative to Quartz. Is my understanding correct that it is not a good option to use with Quartz scheduler?

Thanks in advance.


Solution

  • In theory it should be possible to use Quartz with ShedLock using this approach.

    But I am not sure that it's a good idea. It may be better to use custom jobstore Quartz class as described here.