How do I find an RTC server's time from a build engine? [solved]
I'd like to make our builds more likely to survive past our daily offline backup window where the RTC server is unavailable for a couple of hours.
So is there a way for a build engine to find the server's time using the RTC java-api? I've got an ITeamRepository and we're using the java API to do a lot of other things. In addition is there any way to ask the RTC server what time its next scheduled shutdown (for offline backups) is? |
One answer
I ended up finding the server's time by creating an HttpsURLConnection conn to the Jazz server and then calling conn.getDate() , so no need to use the API at all.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
Hi, the CLM server does not know about when it is shut down. the shut down is something that is done from the outside - the application server level - probably using a script. So I assume you have to add some knowledge about your specific times into your solution.