About Scheduler at Spring 4xx Version

56 views Asked by At

My application is using spring 4.0.0. I'm trying to write a scheduler in a distributed system. My application is working on multiple servers and my database is also running at multiple servers.

I'm trying to achieve: My scheduler will run on one server only.

I tried two approaches:

  1. Profiling: Make a different profile and deploy it in any server.

    But I don't want a different-different profile for different-different servers.

  2. Shedlock

    Shedlock does not support spring 4xx version.

Kindly suggest a better approach

1

There are 1 answers

0
Lukas On

You can use old version of ShedLock https://github.com/lukas-krecan/ShedLock/issues/299