LordX wrote:
> 
> My application needs to run all day long even after I log out ( yes, I
> don't want to log into the computer all day long. :)
> What should I do to let my program continue runing after my log off?
> Thanks

OK, to remove all this mess, I'll tell you what I do to make things work
(and they _work_):

- If you want to start - say setiathome - to run after you logged out,
then you issue:

# nohup ./setiathome &

- Some gotchas:
  1.) If you run this command in an Xterm, then it will be killed on
logout. Use the text console or rlogin to localhost to fix that:

# rlogin localhost
Password: ...
# nohup ./setiathome &
nohup: directing output to nohup.out
# exit
rlogin: connection closed.

  2.) Always give the full path of the command to be executed, as saying
setiathome instead of ./setiathome will not work (at least for me).

Marc

-- 
Marc Mutz <[EMAIL PROTECTED]>                    http://marc.mutz.com/
University of Bielefeld, Dep. of Mathematics / Dep. of Physics

PGP-keyID's:   0xd46ce9ab (RSA), 0x7ae55b9e (DSS/DH)

Reply via email to