Page 1 of 1

use of "nohup" in unix

Posted: Wed Jan 30, 2008 9:23 pm
by thamizhchelvan
Hi,

Can I execute a PERL or a PHP file 24 hours continuesly in the back end using "nohup" command?

Re: use of "nohup" in unix

Posted: Sun Feb 03, 2008 2:20 am
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/