cron/send mail question
cknipe at savage.za.org
cknipe at savage.za.org
Thu Nov 15 06:31:40 PST 2007
existats comes to mind as well. Does the whole analyze thing for you...
Quoting Steve Bertrand <iaccounts at ibctech.ca>:
> zbigniew szalbot 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.
>
> The following should be on one line in crontab :
>
> 1 * * * * mail -s "File contents" my at email.addr < /home/steveb/file.name
>
> It will send your file to you inline in an email ad one minute after
> midnight every day.
>
> Steve
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
More information about the freebsd-questions
mailing list