On Thu, Oct 21, 1999 at 03:02:13PM +0800, 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
> 
  It depends. When you say your application, if you
  mean you're writing ( or have written it ). There
  is a daemon(3) library call that will do what you
  want. Just add a command line flag for it...
  Anyhoo. If you didn't write it. (or dont care)
  try
  nohup programname &
  --
  nohup prevents it from getting a hangup signal when you log out.
  and the & makes it run in the background...

  
  
  if you dont have nohup on your system it's part of the GNU sh-utils.

enjoy

greg
--

Reply via email to