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
script to monitor process running on server and posting a mail if any process is dead pradeepmacha Shell Programming and Scripting 12 10-17-2008 12:08 AM
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 06:23 AM
What user is a process running as? america2 UNIX for Dummies Questions & Answers 1 05-21-2006 12:58 PM
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  
Old 08-08-2006
Registered User
 

Join Date: Nov 2005
Location: Canada
Posts: 29
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  
Old 08-08-2006
Registered User
 

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

Join Date: Aug 2006
Posts: 1
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 06:29 AM.


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

Content Relevant URLs by vBSEO 3.2.0