at the very end of the command, add a space and a & this will send the
nohup into the background and you won't die when you exit the session.
Now, when you exit the session, instead of immediately logging you off,
you will get a message "you have running jobs"... you can ignore that
and just type exit again.
The message is in case you really WANT to stop those jobs running in
the background. Since you don't, you're fine.
You can check the file nohup.out, which will be created in the
directory you were in when you issued the nohup command and you can see
the output that would have been displayed to the screen
Rachel
- dgoulet_at_vicr.com wrote:
> Erik,
>
> In my experience a nohup will die with your terminal session.
> Best bet
> would be to use 'at'.
>
> Dick Goulet
>
> ____________________Reply Separator____________________
> Author: Erik Williams <ewilliams_at_brownco.com>
> Date: 2/4/2002 11:12 AM
>
> I am going to be executing a long running job this weekend from home.
> I am
> going to VPN into the corp network and telnet to the server. I am
> affraid of
> loosing my telnet terminal session and the job dying mid way through.
> The
> plan is to use 'nohup sqlplus system/***** @long_running.sql'. Has
> anyone
> used this or run into issues using it? Every time I assume something
> will
> 'just work', IT DOESNT!
>
> Thanks
> Erik
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Erik Williams
> INET: ewilliams_at_brownco.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing
> Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author:
> INET: dgoulet_at_vicr.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing
> Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions!
http://auctions.yahoo.com
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Rachel Carmichael
INET: wisernet100_at_yahoo.com
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
Received on Mon Feb 04 2002 - 14:15:16 CST