The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 13 03-06-2009 07:33 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 05:08 AM
perl - understand process status and continue the code execution sysgate Shell Programming and Scripting 2 01-04-2008 09:23 AM
What user is a process running as? america2 UNIX for Dummies Questions & Answers 1 05-21-2006 03:58 PM
Send mail when user logs in. venkyA UNIX for Dummies Questions & Answers 3 10-12-2004 12:49 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-08-2006
Browser_ice Browser_ice is offline
Registered User
  
 

Join Date: Nov 2005
Location: Canada
Posts: 110
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 ...
  #2 (permalink)  
Old 08-08-2006
gurukottur gurukottur is offline
Registered User
  
 

Join Date: Apr 2006
Posts: 40
using nohup command will keep the process running even the session disconnects
  #3 (permalink)  
Old 08-08-2006
spiers spiers is offline
Registered User
  
 

Join Date: Aug 2006
Posts: 2
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.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:37 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0