From owner-freebsd-questions Thu May 13 20:17: 3 1999 Delivered-To: freebsd-questions@freebsd.org Received: from kiwi.pinnacle.co.nz (pinnacle.internet.co.nz [210.48.55.133]) by hub.freebsd.org (Postfix) with ESMTP id 62F4415435 for ; Thu, 13 May 1999 20:16:58 -0700 (PDT) (envelope-from jonc@pinnacle.co.nz) Received: from kiwi.pinnacle.co.nz (kiwi.pinnacle.co.nz [202.37.163.2]) by kiwi.pinnacle.co.nz (8.9.3/8.9.3) with ESMTP id PAA03461; Fri, 14 May 1999 15:15:33 +1200 (NZST) Date: Fri, 14 May 1999 15:15:33 +1200 (NZST) From: Jonathan Chen To: Roelof Osinga Cc: freebsd-questions@freebsd.org Subject: Re: output in crontab In-Reply-To: <373B8CBE.22E48651@eboa.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 14 May 1999, 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. Best to fully path your filename. eg: */3 * * * * date > /tmp/stamp Jonathan Chen ---------------------------------------------------------------------- Experience is a hard teacher because she gives the test first, the lesson afterwards To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message