Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Nov 2007 16:48:05 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        zbigniew szalbot <zbigniew@szalbot.homedns.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: cron/send mail question
Message-ID:  <20071115144805.GA2814@kobe.laptop>
In-Reply-To: <473C3FCB.6040302@szalbot.homedns.org>
References:  <473C3FCB.6040302@szalbot.homedns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2007-11-15 13:47, zbigniew szalbot <zbigniew@szalbot.homedns.org> wrote:
> Dear all,
> What command (when using cron) should I invoke to automatically sent
> /var/log/exim/rejectlog file to a specified email address? I just need
> to analyze it and would best prefer to have it in my inbox in the
> morning.

There are several ways.

(1) Add a new shell script to `/usr/local/etc/periodic/daily'.

(2) Add the commands you want to run in `/etc/daily.local'.

(3) Add a cronjob in `/etc/crontab' to run a custom script.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071115144805.GA2814>