Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a job which is scheduled to take around 1-2 days .Only option I have is to ssh into the machine (where it is going to run) using my home computer and start the job .Now my problem is that I want to use my home computer for other tasks during the interval and may be even shut it down /restart.So is there a way where I can start the job and ensure that it keeps on running even if I shut down the putty terminal on my home machine?

share|improve this question

migrated from stackoverflow.com Feb 7 '12 at 19:08

This question came from our site for professional and enthusiast programmers.

2 Answers 2

Yes, use screen if you want to get back to it, or detach and background it otherwise.

share|improve this answer
2  
... or tmux! –  salva Dec 19 '11 at 9:14
    
@salva, yes, or tmux. –  Michael Krelin - hacker Dec 19 '11 at 9:36
    
+1 for screen :) –  Garrett Feb 7 '12 at 20:14

'nohup' is your friend

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.