![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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 ... |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
using nohup command will keep the process running even the session disconnects
|
|
#3
|
|||
|
|||
|
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. |
|||
| Google The UNIX and Linux Forums |