use of "nohup" in unix

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
thamizhchelvan
Forum Newbie
Posts: 23
Joined: Tue May 08, 2007 2:50 am

use of "nohup" in unix

Post by thamizhchelvan »

Hi,

Can I execute a PERL or a PHP file 24 hours continuesly in the back end using "nohup" command?
phpknight
Forum Newbie
Posts: 3
Joined: Sun Feb 03, 2008 1:02 am

Re: use of "nohup" in unix

Post by phpknight »

You can also try to run a background subshell:
$ ( ./extremLongRuntimeCommand & )

instead of:
$ nohup ./extremLongRuntimeCommand


See for explanation of backgrounded subshell when nohup hangsup anyway http://linuxshellaccount.blogspot.com/2 ... nyway.html


______________________________________________________________
The opensource virtual machine: http://vbox.innotek.de/
The opensource virtual mainframe machine: http://www.hercules-390.org/
Post Reply