Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


in reply to ssh connection lost during script running when box rebooted and script falls out...

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". ;-)
  • Comment on Re: ssh connection lost during script running when box rebooted and script falls out...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-04-24 02:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found