Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jun 2001 14:16:33 -0500
From:      David Leimbach <dleimbac@earthlink.net>
To:        questions@freebsd.org
Subject:   Re: Stop the logging of a cron job
Message-ID:  <20010603141633.A5629@mutt.home.net>
In-Reply-To: <00e801c0ec60$74c113c0$3200a8c0@Home>; from mail@max-info.net on Sun, Jun 03, 2001 at 03:07:36PM -0400
References:  <20010603120054.W27608-100000@benny.geektank.org> <00e801c0ec60$74c113c0$3200a8c0@Home>

next in thread | previous in thread | raw e-mail | index | archive | help

add a "2>&1  > /dev/null"

stderr redirected to stdout  redirect stdout to /dev/null

Dave


On Sun, Jun 03, 2001 at 03:07:36PM -0400, Ryan Masse wrote:
> add a > /dev/null to the end of the crontab line
> 
> Ryan
> 
> 
> > Hi all,
> >
> > Just wondering if there's a way to specify to NOT log a specific cron job
> > in the logs?
> >
> > I have a process (fetchmail specifically) to download my email from
> > another server every 2 mins.  Needless to say I don't want this process in
> > my cron logs.
> >
> > Thanks.
> >
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> >
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

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?20010603141633.A5629>