This is what I was looking for. Many thanks! On Mon, Aug 27, 2018 at 3:01 PM Evgenii Zhuravlev <e.zhuravlev...@gmail.com> wrote:
> Hi Lokesh, > > I'd suggest to start Ignite service, which will guarantee failover-safety > for you: https://apacheignite.readme.io/docs/service-grid. Just choose > cluster-singleton to make sure that you will have 1 instance of Service in > cluster. Inside this service you can use ignite-scheduler: > https://apacheignite.readme.io/docs/cron-based-scheduling, it has > cron API. > > Evgenii > > пн, 27 авг. 2018 г. в 9:16, Lokesh Sharma <lokeshh.sha...@gmail.com>: > >> I'm using Ignite with Spring Boot. Is there a way to run a job every 5 >> seconds on exactly one node of the cluster (which could be any node)? >> >> Thank You >> >