Nohup and Background Jobs
Hi Folks,
I'm hoping someone can help me out with this. I am trying to find out how to SSH to a remote machine, launch irssi (IRC Client), start a connection with a server and then place the prog. in the background and then log off. I would like to then periodically ssh back and check the status of this application. I know that ctrl-z will place a job in the background and that I can switch between background jobs with the fg command. This however seems to suspend a job thus halting the download from dcc or ftp (if I've used one of these applications and then placed it in the background.) I believe that the job will also quit when I log out of the remote SSH session. I discovered that "nohup <appname> &" will place a prog. in the background automatically and theoretically should not be affected by logging out of the terminal which I used to issue the command although this seems to not work in practice. Would anyone know how I can ssh to my box, lauch a prog. that can be placed in the background and remain running even if I quit the session? Many thanks in advance. Onyx2316. |
You could use "at"
at now <command> ctrl-d |
for search engines
deleted.
|
In general
Quote:
In what way does it not work? Perhaps the client requires a terminal session to function? Have you looked at screen http://linux.die.net/man/1/screen as an alternative? |
All times are GMT -5. The time now is 01:34 PM. |