* su problem with cron
@ 2000-05-02 19:32 Wilson, Matt
0 siblings, 0 replies; only message in thread
From: Wilson, Matt @ 2000-05-02 19:32 UTC (permalink / raw)
To: tru64-unix-managers
Hello,
We have a script that we issue in root cron. It appears in crontab as:
0,15,30,45 * * * * su - informix -c
/dump/SCRIPTS/CRITICALS/check_for_criticals.sh 2> /dev/null
It is a script that checks our informix database for critical dbspaces.
When it runs from cron, we always get an email with the following message:
Date: Tue, 2 May 2000 14:16:12 -0500 (CDT)
stty: tcgetattr: Not a typewriter
*************************************************
Cron: The previous message is the standard output
and standard error of one of your cron commands.
Now, I run the same command from /bin/sh without any output, so it seems to
have something to do with the default cron environment.
I need to get rid of this output so my emailbox doesn't get cluttered with
these harmless messages. I have checked root & informix environment files
( .profile & /etc/profile ) and nothing looks wrong, and none of my other
root cron scripts exhibit this behavior. Any ideas?
Thanks
Matt Wilson
Systems Administrator
BancTec - Dallas, TX
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-05-02 19:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-05-02 19:32 su problem with cron Wilson, Matt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox