crontab still sending emails even with > /dev/null
- by user2344668
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 MST)
0 12 * * * /root/scripts/driveclient-update > /dev/null
The only way I can get it to turn off is to use /dev/null 2&1 but then I won't get…