LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   cron mail deferred (https://www.linuxquestions.org/questions/linux-software-2/cron-mail-deferred-227433/)

Red Squirrel 09-06-2004 05:05 PM

cron mail deferred
 
This is my crontab

Code:

SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=email_cron@localhost.localdomain
HOME=/

# run-parts
01 * * * * root run-parts /etc/cron.hourly
2 0,12 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly

But yet mail keeps being sent to the root account, and this screws up because it gets deferred for some reason, then the bounce message also get's deferred etc.... so if I leave this for about a day I end up with a few thousand emails going all over the server.

Is there a way to force it to use this cron tab? it's the only one on the server, so I don't know where it's getting the other info that says to send to root. And by the looks of this cron tab it does not even match what I really have set through webmin. I can somewhat understand these codes and it's all wrong. So where would webmin store this? It's not called crontab that's for sure... (did a locate)

Red Squirrel 09-06-2004 05:50 PM

It seems to only do it to certain cron jobs, since I just started getting some emails for some cron jobs, but not all though. Some are still trying to send to root and getting deferred.

Red Squirrel 09-10-2004 05:47 PM

bump


All times are GMT -5. The time now is 12:34 AM.