From: Zack Ellis <zellis () homemedical ! com>
To: tru64-unix-managers
Subject: Summary: su redirect in a script
Date: Thu, 06 May 1999 15:00:46 +0000 [thread overview]
Message-ID: <96079042215522.tru64-unix-managers.marc@archive.invalid> (raw)
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
reply other threads:[~1999-05-06 15:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox