From owner-freebsd-questions Wed Sep 15 13:21:45 1999 Delivered-To: freebsd-questions@freebsd.org Received: from diarmadhi.mushhaven.net (cm-24-142-61-124.cableco-op.ispchannel.com [24.142.61.124]) by hub.freebsd.org (Postfix) with ESMTP id 1A5FA14D88 for ; Wed, 15 Sep 1999 13:21:43 -0700 (PDT) (envelope-from mistwolf@diarmadhi.mushhaven.net) Received: (from mistwolf@localhost) by diarmadhi.mushhaven.net (8.9.3/8.9.3) id NAA87037 for freebsd-questions@freebsd.org; Wed, 15 Sep 1999 13:23:55 -0700 (PDT) (envelope-from mistwolf) Date: Wed, 15 Sep 1999 13:23:55 -0700 From: Jamie Norwood To: freebsd-questions@freebsd.org Subject: mesg: ttyname: Inappropriate ioctl for device Message-ID: <19990915132355.A87012@mushhaven.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have a cron entry: */5 * * * * $HOME/bin/pinggate >> /dev/null Now, it runs every 5 minutes just fine and does exactly what it is supposed to. However, every time it runs, I get an email with the message: mesg: ttyname: Inappropriate ioctl for device What is this trying to telll me and how do I fix it? Script is included below in case it is something in the pinggate script. Jamie --- #!/usr/local/bin/tcsh ping -c 100 gateway > /tmp/pings/ping.`date +%m.%d.%H.%M` To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message