[97246] in RedHat Linux List

home help back first fref pref prev next nref lref last post

RE: process running after logout, howto ?

daemon@ATHENA.MIT.EDU (Heltzel, Dennis)
Mon Nov 2 08:23:07 1998

From: "Heltzel, Dennis" <DHeltzel@IKON.com>
To: "'Borek Lupomesky'" <Borek.Lupomesky@ujep.cz>,
  RedHat Mailing List <redhat-list@redhat.com>
Date: Mon, 2 Nov 1998 08:22:24 -0500 
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

You must use "nohup" at the beginning of the command if you intend to log
out.
Just putting a & at the end will still result in a kill signal going to the
process when you log out.
Nohup (no hangup) causes the process to disconnect from your shell's process
space and connect to "init", which is process 1 and never dies (we hope !).

An alternative is to use the "at" or "cron" command. They are very useful
for this sort of thing.

> -----Original Message-----
> From:	Borek Lupomesky [SMTP:Borek.Lupomesky@ujep.cz]
> Sent:	Monday, November 02, 1998 7:12 AM
> To:	RedHat Mailing List
> Subject:	Re: process running after logout, howto ?
> 
> On Mon, 2 Nov 1998, Claudiu Balciza wrote:
> 
> > I use to start long jobs (20-30 hrs) on some remote system and I would
> > like to logout for a while.  How can I do that ? 
> 
>    For non-interactive jobs use simply "&" at the end of command line. For
> full-screen apps use screen(1).
> 
>    Bye Borek
> 
> --
> 
> =====================================================================
> BOREK LUPOMESKY, network administrator    University of J. E. Purkyne
> WWW:       http://www.ujep.cz/~lupomesk/  Ceske mladeze 8
> IRCnet:    Borek @ #usti                  Usti nad Labem, 40096
> talk:      borek@ishtar.ujep.cz           The Czech Republic
> PGP keyid: 9DD1C54D   ICQ: 10139578       tel: +420-602-376368
> ==========[ MIME/ISO-8859-2 & PGP encrypted mail welcome ]===========
> 
> 
> -- 
>   PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> 		http://www.redhat.com http://archive.redhat.com
>          To unsubscribe: mail redhat-list-request@redhat.com with 
>                        "unsubscribe" as the Subject.


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post