tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Wilson, Matt" <Matt.Wilson () BancTec ! com>
To: tru64-unix-managers
Subject: su problem with cron
Date: Tue, 02 May 2000 19:32:15 +0000	[thread overview]
Message-ID: <96079346819375.tru64-unix-managers.marc@archive.invalid> (raw)

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

                 reply	other threads:[~2000-05-02 19:32 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