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
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?
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.
Summary: As it happens, I have experience calling Informix SPs from shell scripts. Here's an example: Given this SP: -- This function returns a datetime year to second from a date and a time -- string. No er...
Summary: Sorry, but this won't work. This syntax: unload to myarchive delimiter "," select * from mytable; is an informix command - not a unix command. The operating system will not recognize load as a valid...
Summary: Thanks a lot for ur responses those have really helped me a newbie in this world of shell scripting i would like to know after sourcing the functions to the main script can i call the functions just b...