2
votes
3answers
131 views

crontab still sending emails even with > /dev/null

I have a crontab (root) that runs a script and output is set to > /dev/null but I always get the emails whenever it runs. I only want to receive error emails. # Rackspace driveclient update (12pm ...
0
votes
2answers
102 views

crontab email is not working as expected. First I got the emails at gmail, now I'm not getting them

First I ran a simple test to see if I could get crontab to send me an email. I created the following line: MAILTO = my_email_address@example.com 1 * * * * /bin/echo "foobar" This worked as expected ...
5
votes
2answers
366 views

Crontab Error Emails: Set Sender to Root Using -f

For a crontab entry in this format, */1 * * * * /usr/bin/php /app/<userid>/command --flag='value' I see this message emailed to <userid>@host (and view via mail) at one per minute: ...
5
votes
2answers
2k views

Only email on cron errors for jobs in cron.daily, cron.hourly, etc

I have several cron jobs that run (in /etc/cron.daily, /etc/cron.hourly, /etc/cron.weekly, etc.) and email root@localhost with the results. I'd like to stop those emails if the jobs are succeeding, ...
0
votes
2answers
1k views

How to specify default MTA?

I'm trying to use the MAILTO function in crontab on my mybookworld (it's a NAS) I've installed a rather unfamiliar (i think) MTA: ESMPT With mutt (console based email client) it works perfectly. But ...
2
votes
1answer
666 views

How do I compress a directory on a Unix web server and email it on a sheduled basis?

After hearing about various high profile website creators getting stiffed recently after hardware failures on their servers I would like to implement a backup strategy on my websites. I have cPanel ...