From owner-freebsd-questions Fri May 14 1:50:45 1999 Delivered-To: freebsd-questions@freebsd.org Received: from volodya.prime.net.ua (volodya.prime.net.ua [195.64.229.17]) by hub.freebsd.org (Postfix) with ESMTP id 59D481528B for ; Fri, 14 May 1999 01:50:40 -0700 (PDT) (envelope-from andyo@prime.net.ua) Received: from prime.net.ua (localhost [127.0.0.1]) by volodya.prime.net.ua (8.9.3/8.8.8) with ESMTP id JAA68968; Fri, 14 May 1999 09:10:12 +0300 (EEST) (envelope-from andyo@prime.net.ua) Message-ID: <373BBE3E.520F23BA@prime.net.ua> Date: Fri, 14 May 1999 09:10:07 +0300 From: "Andy V. Oleynik" Organization: M-Info X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 3.2-BETA i386) X-Accept-Language: ru, uk, en MIME-Version: 1.0 To: "freebsd-questions@FreeBSD.ORG" Cc: Roelof Osinga Subject: Re: output in crontab References: <373B8CBE.22E48651@eboa.com> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm confused. CRON(8) FreeBSD System Manager's Manual CRON(8) NAME cron - daemon to execute scheduled commands (Vixie Cron) SYNOPSIS cron [-x debugflag[,...]] DESCRIPTION Cron should be started from /etc/rc or /etc/rc.local. It will return im- mediately, so you don't need to start it with '&'. [..] minute. When executing commands, any output is mailed to the owner of the crontab (or to the user named in the MAILTO environment variable in the crontab, if such exists). [..] 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. > > What gives and, better still, how can I make this work? > > Roelof > > -- > Home is where the (@) http://eboa.com/ is. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- WBW Andy V. Oleynik (When U work in virtual office U have good chance to obtain virtual money ö%-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message