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