Just another Perl shrine | |
PerlMonks |
Re: ssh connection lost during script running when box rebooted and script falls out...by afoken (Chancellor) |
on Jul 22, 2009 at 09:56 UTC ( [id://782229]=note: print w/replies, xml ) | Need Help?? |
The shutdown command usually allows you to schedule the shutdown. Read the man page. On a typical Linux system, you can get away with "shutdown -r +5" to shut down in 5 minutes. During that five minutes, you can cancel the shutdown command with "shutdown -c". Alexander
-- Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
In Section
Seekers of Perl Wisdom
|
|