Date: Mon, 25 Nov 2002 07:47:46 +0100 From: Len Conrad <LConrad@Go2France.com> To: freebsd-questions@freebsd.org Subject: Re: .sh interactive ok, from crontab, not Message-ID: <5.1.1.6.2.20021125074602.01c98e80@mail.go2france.com> In-Reply-To: <BA06ED40.14B73%pscott@skycoast.us> References: <5.1.1.6.2.20021125005050.01e0c638@mail.go2france.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>Okay, I was able to duplicate your problem. It is due to the output of 'ps' >being truncated to 80 columns, the default terminal size. You are likely >running a wide terminal display on your interactive session (as I do) yep, TeraTerm on Windows, very wide display. >but cron will see the default 80 column terminal. This is the difference >between the two. ugh, amazing! >Try running 'ps' using the -w flag (wide column mode): > > if ( ps -auxw | grep -iq "^root.*master" ) ; then > >I've tested this and it works. here, too, thanks!! Len To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.1.6.2.20021125074602.01c98e80>