The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
is there a way to find out the tty from which the process is launched sleepy_11 UNIX for Advanced & Expert Users 1 04-07-2008 02:08 AM
perl - understand process status and continue the code execution sysgate Shell Programming and Scripting 2 01-04-2008 05:23 AM
What user is a process running as? america2 UNIX for Dummies Questions & Answers 1 05-21-2006 12:58 PM
script to monitor process running on server and posting a mail if any process is dead pradeepmacha Shell Programming and Scripting 11 07-12-2005 12:49 AM
Send mail when user logs in. venkyA UNIX for Dummies Questions & Answers 3 10-12-2004 09:49 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-08-2006
Registered User
 

Join Date: Nov 2005
Location: Canada
Posts: 22
Stumble this Post!
Arrow Process launched by user who logs out, continue running ?

Lets say a user starts a process (either a shell script or a Perl script) and before that process finishes, he logs out (either intentionaly or network problems or ...), does the process continu running ?

Default shell is Korn.

This is because at my job (being trained), there are tasks to run which involves doing a bunch of commands and/or scripts to run. I was thinking about scripting the whole thing to save time and decrease human errors. But someone asked me what happens when a user logs out. That got me thinking ...
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 08-08-2006
Registered User
 

Join Date: Apr 2006
Posts: 40
Stumble this Post!
using nohup command will keep the process running even the session disconnects
Reply With Quote
  #3 (permalink)  
Old 08-08-2006
Registered User
 

Join Date: Aug 2006
Posts: 1
Stumble this Post!
nohup syntax

nohup unload_subs_daily_calls.sh >> log &

It will give you a pid of the background process and everything is writen to the log.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 11:07 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0