I Have made a jax rs jersey web service. I have to load data from database when server restarts. What I am doing now is calling this url
http://localhost:8080/jersey-openshift-quickstart2/logisure/load
It loads data from database and keeps on updating it in every 20 sec by calling a thread. Based on this data other API functionalities work. Now when I deployed it on cloud I found out server restarts in every 2-3 days so I need my webservice to automatically call
http://localhost:8080/jersey-openshift-quickstart2/logisure/load
when my server restarts. How can i do it?