Staggering Deploy Times?

Comments

3 comments

  • Wei

    I would use PowerShell for it.

    #Pick a randominteger from an array then use it in Start-Sleep 
    $Sleep_Time = 60, 120, 360, 600 | Get-Random
    
    Start-Sleep -Seconds $Sleep_Time 
    
    0
    Comment actions Permalink
  • Brad McClave

    In options you can set the concurrent target per deployment. Set that to 5 and have a final step of your deployment being a reboot. Once the reboot is complete, the task is marked complete and the next 5 can start.

    0
    Comment actions Permalink
  • Sam Cayze

    Simple, perfect. Thanks!

    0
    Comment actions Permalink

Please sign in to leave a comment.