Punter Vicky
Punter Vicky

Reputation: 16982

pivotal cloud foundry - java scheduled jobs

I am using Java timer utility for some my scheduled jobs that are running outside PAAS platform.Does PCF support scheduled jobs running on java? I am also using Zookeeper in my current setup to keep of status of timers running across multiple nodes to ensure that same timer in not running in multiple instances of my nodes. Is a similar setup required for PCF and if so should Zookeeper be used for the purpose and is zookeeper supported by PCF?

Upvotes: 0

Views: 1025

Answers (1)

user152468
user152468

Reputation: 3242

You could use the @Scheduled annotation in your spring boot app.

http://docs.spring.io/spring/docs/current/spring-framework-reference/html/scheduling.html

Upvotes: 1

Related Questions