[SOLVED] Cron emails
mike at mtchambers.com
Sat Nov 22 11:55:41 UTC 2014
On Fri, 2014-11-21 at 19:22 -0600, Mike Chambers wrote:
> Hi all,
> I have a couple of cron jobs setup in my /etc/cron.d/ dir and they seem
> to be checked and run as suppose to, according to /var/log/cron.
> Basically the 2 jobs point to a couple of dir's that run a few scripts
> every so few hours and mirror a few things from Fedora, rpmfusion, etc.
> But I would like to get the email results of those 2 jobs after they
> run, whether they download anything or not, but right now I don't get
> Below is a copy of one of the cron jobs, but they are all the same.
> [root at scooby log]# more /etc/cron.d/0quarterly
> # Run the quarterly jobs
> 5 */4 * * * root run-parts /etc/cron.quarterly
> As can see above, mailto=root is set, and I do get root emails (I
> tested) to the alias I have set it for, but not the cron jobs.
> So how else can I get it to email me no matter what the result is?
Duh, figured out that I had a mishap when editing my sendmail.mc file in
reference to loopback, but it's fixed now.
Emails runneth over haha. Thanks for the tries tho :)
"Best little town on Earth!"
More information about the users