From owner-freebsd-questions Sat Oct 2 21:55:34 1999 Delivered-To: freebsd-questions@freebsd.org Received: from puddle.theriver.nu (cx288885-a.okcs1.ok.home.com [24.4.98.133]) by hub.freebsd.org (Postfix) with ESMTP id 07D2C14F4F for ; Sat, 2 Oct 1999 21:55:31 -0700 (PDT) (envelope-from river@theriver.nu) Received: from drip.puddle.net (cx288885-b.okcs1.ok.home.com [24.4.98.148]) by puddle.theriver.nu with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2232.9) id T6XFLZHS; Sat, 2 Oct 1999 23:57:30 -0500 Received: by DRIP with Internet Mail Service (5.5.2232.9) id <4FAYDSYB>; Sat, 2 Oct 1999 23:59:37 -0500 Message-ID: <21DC5E98AE1FD311B1290020AFDB6C6E6460@DRIP> From: river To: "'cjclark@home.com'" , river Cc: questions@FreeBSD.ORG Subject: RE: syslog and mailing logs Date: Sat, 2 Oct 1999 23:59:36 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2232.9) Content-Type: text/plain; charset="windows-1252" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I.E in linux i can do the following with the log files: /var/log/messages { rotate 1 size=10k mail user@company.com errors user@company.com postrotate /usr/bin/killall -HUP syslogd endscript } I need to be able to do this in BSD -----Original Message----- From: Crist J. Clark [mailto:cjc@cc942873-a.ewndsr1.nj.home.com] Sent: Saturday, October 02, 1999 11:01 PM To: river@theriver.nu Cc: questions@FreeBSD.ORG Subject: Re: syslog and mailing logs river wrote, [Charset iso-8859-1 unsupported, filtering to ASCII...] > where would I find info on mailing the logfiles when the cron runs for > syslog. > which conf file or whatever. i know how to do it in linux...but not bsd... I'm not sure what you are talking about here. 'When the cron runs for syslog?' syslogd(8) runs completely independently of cron(8). There is the program newsyslog(8) that is spawned from the default /etc/crontab file with FreeBSD. All it does is rotate logfiles; it has not facilities for mailing. Or are you talking about the periodic(8) scripts that run from /etc/crontab? Much of what they do utilizes information in various logfiles. Could you be more specific about what you would like to do? -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message