Results 1 to 4 of 4
Hi,
I use a Linux box (Ubuntu 2.6.15-28-amd64-generic) to remotely run calculations. The thing is, these calculations may last hours or even days, and as soon as I disconnect, the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-03-2007 #1Just Joined!
- Join Date
- Mar 2007
- Posts
- 4
Running remote application while I'm not logged in.
Hi,
I use a Linux box (Ubuntu 2.6.15-28-amd64-generic) to remotely run calculations. The thing is, these calculations may last hours or even days, and as soon as I disconnect, the calculations are interrupted. So, the only solutions are: a) run the calculations locally or b) stayed connected all the time (which is almost impossible).
Is there any command I can use to run the calculations remotely without me having to be connected all the time? The idea is connecting, run the program , log off, from time to time connect to see if everything is running and eventually get the results (which are automatically exported to a file).
Thanks,
Pinzao
- 03-04-2007 #2
You can:
1. Run your calculations as a regular cron job, or as an at job (which would allow you to submit it when needed).
2. Use the screen program to disconnect / reconnect ssh sessions.
P.S. You can learn about screen on this forum.
- 03-05-2007 #3Just Joined!
- Join Date
- Mar 2007
- Posts
- 4
Screen sofware versus 'nohup' command
Thanks for the reply, I appreciate it. I will learn more about the screen software soon.
Also, I just heard about a command called 'nohup' that seems to do the trick. Do you know it? Do you think it's better to use the screen program?
Thanks,
Pinzao
- 03-05-2007 #4
I'm familiar with nohup, but haven't used it for exactly what you are describing here. I would use whatever works best for you.


Reply With Quote
