On Wed, 23 Jul 1997, Mikko Väkiparta wrote:

> I'm trying to send file /var/log/mail.log every friday to myself via
> e-mail. I think this is crons job, but how I can configure it to do
> this on every friday? And what kind of script I must to make for
> sending the file (subject=date, message=file)?

put this in your cron

35 5 * * 5 mail -s "Mail-Log"  mikko</var/log/mail.log

        whereas mikko is the user to recieve the mail.
this will mail you the log at 5:35 every friday morning. 

Hope this helps

-Rob


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .

Reply via email to