[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] emailing a log file
- Subject: Re: [cobalt-users] emailing a log file
- From: Jay Summers <jay@xxxxxxxxxxxxxxxxxxxx>
- Date: Fri Apr 6 15:43:58 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> } Does anyone know of a script or cron job I can run that will mail my log
> } files to me when they get rotated?
> } I'd like to keep a copy of them locally.
>
> I've got a itty bitty little hack of a Perl script that I wrote to
> do this kind of thing with:
>
> ftp://ftp.webokay.com/pub/user_commands.mailbot
Any reason why you wouldn't just use the maillog function in logrotate? Just
curious.
man logrotate for all of the various options.
cya,
j