Cron job in multiple app server env

We are deploying 2 app servers with load balances for our application where we are wondering how the cron jobs will work due to more than one tomcat server/application running in parallel. Any suggestions?

Hi,

It looks like you need to configure your Quartz Scheduler in cluster mode - Configuration Reference
Note: within Spring Boot the ‘native’ Quartz properties should start with spring.quartz.properties prefix (spring.quartz.properties.org.quartz.***)

Also take a look at Schedulers get triggered by multiple servers on HA Environment Setup

Regards,
Ivan