<div dir="ltr"><div>
5 */4 * * * root run-parts /etc/cron.quarterly | mailx -s &quot;test&quot;<br><br><br>??<br><br></div>hth,jackc...<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 21, 2014 at 5:22 PM, Mike Chambers <span dir="ltr">&lt;<a href="mailto:mike@mtchambers.com" target="_blank">mike@mtchambers.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
I have a couple of cron jobs setup in my /etc/cron.d/ dir and they seem<br>
to be checked and run as suppose to, according to /var/log/cron.<br>
Basically the 2 jobs point to a couple of dir&#39;s that run a few scripts<br>
every so few hours and mirror a few things from Fedora, rpmfusion, etc.<br>
<br>
But I would like to get the email results of those 2 jobs after they<br>
run, whether they download anything or not, but right now I don&#39;t get<br>
anything.<br>
<br>
Below is a copy of one of the cron jobs, but they are all the same.<br>
<br>
[root@scooby log]# more /etc/cron.d/0quarterly<br>
# Run the quarterly jobs<br>
SHELL=/bin/bash<br>
PATH=/sbin:/bin:/usr/sbin:/usr/bin<br>
MAILTO=root<br>
5 */4 * * * root run-parts /etc/cron.quarterly<br>
<br>
As can see above, mailto=root is set, and I do get root emails (I<br>
tested) to the alias I have set it for, but not the cron jobs.<br>
<br>
So how else can I get it to email me no matter what the result is?<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Mike Chambers<br>
Madisonville, KY<br>
<br>
&quot;Best little town on Earth!&quot;<br>
<br>
--<br>
users mailing list<br>
<a href="mailto:users@lists.fedoraproject.org">users@lists.fedoraproject.org</a><br>
To unsubscribe or change subscription options:<br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/users" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/users</a><br>
Fedora Code of Conduct: <a href="http://fedoraproject.org/code-of-conduct" target="_blank">http://fedoraproject.org/code-of-conduct</a><br>
Guidelines: <a href="http://fedoraproject.org/wiki/Mailing_list_guidelines" target="_blank">http://fedoraproject.org/wiki/Mailing_list_guidelines</a><br>
Have a question? Ask away: <a href="http://ask.fedoraproject.org" target="_blank">http://ask.fedoraproject.org</a><br>
</font></span></blockquote></div><br></div>