Generic selectors
Exact matches only
Search in title
Search in content
Search in posts
Search in pages

Escape node if site is offline (WinFiol)

  • This topic has 0 replies, 1 voice, and was last updated 1 year, 1 month ago by Humberto Scravioli.
Viewing 1 post (of 1 total)
  • Author
  • #70252 Reply
    Humberto Scravioli


    i have the script below, but i want to make it escape the node if it is offline. Which can be known after the “./moshell” command runs.

    Can somebody help me ?

    @SET {node[0]} = WXXX1_MG
    @SET {node[1]} = WJJJ1_MG

    @COMPACT {node}
    @SIZE {node} {n}
    @SET {cnt} = 0

    @WHILE {cnt} < {n} ./moshell -v username=rbs,password=rbs {node[{cnt}]} lt all s+ prox @log on C:/LOGs/{node[{cnt}]}.log alt cabx @close exit @INC {cnt} @endwhile

Viewing 1 post (of 1 total)
Reply To: Escape node if site is offline (WinFiol)
Your information:

<a href="" title="" rel="" target=""> <blockquote cite=""> <code> <pre class=""> <em> <strong> <del datetime="" cite=""> <ins datetime="" cite=""> <ul> <ol start=""> <li> <img src="" border="" alt="" height="" width="">