From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079346819375.tru64-unix-managers.marc@archive.invalid> From: "Wilson, Matt" Date: Tue, 02 May 2000 19:32:15 +0000 To: tru64-unix-managers Subject: su problem with cron X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079346819375 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