Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 May 1999 15:15:33 +1200 (NZST)
From:      Jonathan Chen <jonc@pinnacle.co.nz>
To:        Roelof Osinga <roelof@eboa.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: output in crontab
Message-ID:  <Pine.SC5.4.10.9905141514260.3444-100000@kiwi.pinnacle.co.nz>
In-Reply-To: <373B8CBE.22E48651@eboa.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SC5.4.10.9905141514260.3444-100000>