Home
TeamSite
Display remaining time for deployment
System
Hi,
We have a requirement like displaying the remaining time for the deployment, in a graphical representation. Its like showing a progress bar kind of thing which should show the remaining time period for the deployment.
We have the below mentioned strategical implementation for this (Ref: Open Deploy Administration Guide). There are two input params for the calculation.
1. Elapsed column. 2. Average Data Rate column.
Remaining Data to be transfered = Total Size of the attachments - (Elapsed column * Average Data Rate column.)
Remaining time for the deployment = Remaining Data to be transfered / Average Data Rate column
**************************************************************
We have planned to implement this using CGI. But right now, we are not sure how to read the above mentioned data (Elapsed column & Average Data Rate column) in CGI.
Is there a way to read these data? If yes, then please suggest the steps.
If there is any other approach then kindly suggest.
Thanks in advance.
Find more posts tagged with
Comments
Rick Poulin
Is there a way to read these data? If yes, then please suggest the steps.
Not in a CGI. There may be something in the Java odapi, but I haven't checked (never seen it though).
A more common requirement is to run the deployment on the server side and send the job owner an email when it's completed.. /just sayin
Adam Stoller
I don't believe the server provides the data you're looking for until the deployment has been completed - and thus you wouldn't be able to provide a status-bar, only result information.
I could be wrong - as I've never tried to retrieve information from OpenDeploy
during
the deployment process - but I don't think it can be done.
Migrateduser
Thank you very much rpoulin & ghoti for your suggestion.