* Summary: su redirect in a script
@ 1999-05-06 15:00 Zack Ellis
0 siblings, 0 replies; only message in thread
From: Zack Ellis @ 1999-05-06 15:00 UTC (permalink / raw)
To: tru64-unix-managers
Thanks to:
Scott Skeate
Alan Davis
Ola Abrahamsson
Ofer Kessler
Jacques DEMEULEMEESTER
Martin Vasa
Dr. Thomas P. Blinn
The most popular answer was basically
su - oracle -c "lsnrctl status"
with various forms of I/O redirection.
I've found that using the -c options hangs more often than not, which is why
I used the << EOF
Either way it still hangs. So in the mean time I've just decided not to
turn it on/off from a script. I'll ask Oracle and see where I get but don't
have high hopes. Still bugs me as to why if cron calls it it works, but not
from the command line! Has to be a stderr/stdout thing but..... I give.
Zack Ellis
UNIX SysAdmin
Home Care Concepts of America
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-05-06 15:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-05-06 15:00 Summary: su redirect in a script Zack Ellis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox