Deployment Solution

 View Only
  • 1.  how to get job deployment duration

    Posted Feb 22, 2012 04:43 AM

    Hi,

     

    Is there a way to know how much time took the job deployment ?

    any variable which keep this data ?

     

    thanks



  • 2.  RE: how to get job deployment duration
    Best Answer

    Trusted Advisor
    Posted Feb 22, 2012 07:14 AM

    Hi,

    If you want to just check occassionally, you can just look at the computer's history to figure it out. If you want something more regular/thorough, all this data is kept in the status tables. It can be quite complex to collect all the data in a useful way.

    When I deliver builds (images+software)  I always have the deployment create a "deployment report" which is saved to the deployed computers disk and emailed to a central store. 

    This is an extract from a report from a deployment a couple of days ago. 

    Quite a lot of SQL is involved to get this.

    It might be that what you require is a lot simpler though... so what exactly are you needing here?

    Kind Regards,
    Ian./



  • 3.  RE: how to get job deployment duration

    Trusted Advisor
    Posted Feb 27, 2012 09:31 AM

    Do you need any further help on this one?



  • 4.  RE: how to get job deployment duration

    Posted Feb 27, 2012 10:53 AM

    Thanks for the answer,

     

    I was thinking that it will be much easier to get this data, like using some system variable...

    thanks anyway



  • 5.  RE: how to get job deployment duration

    Trusted Advisor
    Posted Feb 27, 2012 11:08 AM

    There are options... you could have the last task in every job to execute a SQL function which would throw up to the computers visible history through the wLogEvent the time taken to execute that job upto that point...

    Not as good as a 'token' which holds duration of the last job scheduled on that machine, but it's not a bad second. Though perhaps a bit cumbersome to add a wlogevent to the end of every job....

    Kind Regards,
    Ian./