Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^5: reboot a system (machine or server) multiple times with perl script

by choroba (Cardinal)
on Mar 16, 2015 at 09:42 UTC ( [id://1120167]=note: print w/replies, xml ) Need Help??


in reply to Re^4: reboot a system (machine or server) multiple times with perl script
in thread reboot a system (machine or server) multiple times with perl script

No Perl in the game.
#!/bin/bash ssh root@machine 'reboot' until ping -c1 machine ; do sleep 1; done ssh root@machine 'reboot'
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
  • Comment on Re^5: reboot a system (machine or server) multiple times with perl script
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1120167]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-04-16 11:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found