From owner-freebsd-questions Mon Jun 24 5: 2:43 2002 Delivered-To: freebsd-questions@freebsd.org Received: from server.rucus.ru.ac.za (server.rucus.ru.ac.za [146.231.115.1]) by hub.freebsd.org (Postfix) with SMTP id 5B09137B400 for ; Mon, 24 Jun 2002 05:02:36 -0700 (PDT) Received: (qmail 92954 invoked from network); 24 Jun 2002 12:02:19 -0000 Received: from shell-fxp1.rucus.ru.ac.za (HELO shell.rucus.ru.ac.za) (10.0.0.1) by server.rucus.ru.ac.za with SMTP; 24 Jun 2002 12:02:19 -0000 Received: (qmail 24237 invoked by uid 10032); 24 Jun 2002 12:02:19 -0000 Date: Mon, 24 Jun 2002 14:02:19 +0200 From: =?iso-8859-1?Q?David_Sieb=F6rger?= To: Farid nicolas Cc: questions@freebsd.org Subject: Re: Question about crontab. Message-ID: <20020624140219.C22610@rucus.ru.ac.za> References: <20020624114334.60174.qmail@web9906.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020624114334.60174.qmail@web9906.mail.yahoo.com>; from fd_nicolas@yahoo.fr on Mon, Jun 24, 2002 at 01:43:34PM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon 2002-06-24 (13:43), Farid nicolas wrote: > i have a problem when i use crontab on my freebsd. > > I want to execute a program every day. this program > write the result of a "ps" in a text file. When i use > crontab, i can see only 80 characters of this text > file whereas when I execute it directly i can read > all > the file. You need to use the -w or -ww options. From ps(1): -w Use 132 columns to display information, instead of the default which is your window size. If the -w option is specified more than once, ps will use as many columns as necessary without regard for your window size. This topic was discussed on this list a little while ago under the subject "grep and console width". The thread starts at: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1197521+0+archive/2002/freebsd-questions/20020602.freebsd-questions -- David Siebörger drs@rucus.ru.ac.za To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message