[881] in linux-net channel archive

home help back first fref pref prev next nref lref last post

Re: adding netdate to cron getting message on /dev/tty1, how stop?

daemon@ATHENA.MIT.EDU (Herbert Thielen)
Sat Aug 12 10:29:42 1995

From: Herbert Thielen <Herbert.Thielen@lpr.e-technik.tu-muenchen.de>
To: GeisJ@rnd3.indy.tce.com (Geis Jerry)
Date: Fri, 11 Aug 1995 15:54:19 +0200 (MET DST)
Cc: linux-net@vger.rutgers.edu
In-Reply-To: <302A1EE8@MSMAIL.INDY.TCE.COM> from "Geis Jerry" at Aug 10, 95 07:44:00 am

Geis Jerry wrote:
> 
> 
> I added netdate to the root crontab like so:
>      0 2 * * * /usr/sbin/netdate -l 3300 >> /tmp/netdate
> 
> Now I get a message like this on /dev/tty1
>      10-Aug-95 06:35 USER root pid 94 cmd /usr/sbin/netdate ....
> 
> How do I turn this message off????
> 
> I tried the following:
>      1) /etc/rc.d/rc.M made the -l10 to -l0 for crond (no effect)
>      2) my /etc/syslog.conf has *.notice, *.info and *.debug going to      
>           /var/adm/messages

Looks like dillon crond. You have to redirect stderr when starting
crond, sth. like

		crond 2> /var/adm/cronlog

in /etc/rc.d/rc.*
Don't forget that cronlog is growing all * minutes while your system is
running ...

Regards
	Herbert.

home help back first fref pref prev next nref lref last post