|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi,
I am using ssh to login into a Linux machine to execute huge jobs? When I close the ssh connection, the jobs are aborted. Hence, I have to keep the ssh connection open till the job is completed. Is there any way by which I can submit jobs and close the ssh connection? Thanks, Sathi |
|
#2
|
|||
|
|||
|
"disown" them before closing your connection.
hth, M.
__________________
-- Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more. |
|
#3
|
|||
|
|||
|
you also need to redirect stdout and stderr to /dev/null
or a log file. BTW disown is bash specific. If you are using another shell - such as the POSIX shell, simply nohup and background the job, i.e. nohup job &. for further information have a look at the secure shell mail list archives. http://marc.theaimsgroup.com/?l=secure-shell |
|
#4
|
|||
|
|||
|
Thanks a lot...
My problem is solved. Sathi |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > How to submit jobs to Linux?? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|