Computing.Net > Forums > Unix > shell-script: nohup output goes to

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

shell-script: nohup output goes to

Reply to Message Icon

Name: okuda
Date: September 18, 2002 at 06:25:15 Pacific
OS: AIX
CPU/Ram: Regatta
Comment:

i'm running a shell-skript as cgi. the skript only calls "nohup command &". when i call this cgi from a website the output doesn't goes to nohup.out - it will be displayed in the webbrowser. but when i call it from the command-line all is fine. what's wrong?



Sponsored Link
Ads by Google

Response Number 1
Name: kris
Date: September 18, 2002 at 09:19:57 Pacific
Reply:

Hi Okuda,

I take it you WANT the output to go into nohup.out, correct? Can you redirect the output into the file nohup.out? The most i know about the nohup command is that whatever command you want to use after it tells the comp to run that command regardless of whether the parent process is terminated or not, ie: if you log off the computer the process will still run.



0

Response Number 2
Name: Jerry Lemieux
Date: September 18, 2002 at 11:18:28 Pacific
Reply:

Try running the command as:

/usr/bin/nohup command &

I suspect you do not have the path set to include the nohup command then calling the script from a browser.

Jerry


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: shell-script: nohup output goes to

shell script www.computing.net/answers/unix/shell-script/7305.html

execute shell script in SP informix www.computing.net/answers/unix/execute-shell-script-in-sp-informix/8084.html

Shell Scripting -DateTime Manipulat www.computing.net/answers/unix/shell-scripting-datetime-manipulat/6010.html