From owner-freebsd-questions Fri May 14 9:43:59 1999 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 347BD15531 for ; Fri, 14 May 1999 09:43:33 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from scientia.demon.co.uk (ident=ben) by scientia.demon.co.uk with local (Exim 2.12 #1) id 10iKQS-0000Nv-00; Fri, 14 May 1999 17:03:04 +0100 (envelope-from ben@scientia.demon.co.uk) Date: Fri, 14 May 1999 17:03:04 +0100 From: Ben Smithurst To: Roelof Osinga Cc: freebsd-questions@FreeBSD.ORG Subject: Re: output in crontab Message-ID: <19990514170304.B1367@scientia.demon.co.uk> References: <373B8CBE.22E48651@eboa.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <373B8CBE.22E48651@eboa.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Roelof Osinga wrote: > While porting some stuff from Linux I noticed that I can not redirect > output from commands into a file. E.g. > > */3 * * * * date > stamp > > will not update the file. The manpage talks about BSD not being > able to mail output, but fails to mention not handling output > at all. Which manpage is this? FreeBSD *can* mail output, and does by default if any output is generated and not redirected elsewhere. I suspect it is updating the file, but not where you expect it to be, unless something has gone very wrong. Try doing something like $ find / -name stamp -mtime -1 -- Ben Smithurst ben@scientia.demon.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message