Home » Topics » Telecom Design » Escape node if site is offline (WinFiol)
-
Humberto ScravioliGuest
Hi!,
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
- The forum ‘Telecom Design’ is closed to new topics and replies.