Today i setup ssmtp to email me from sendmail. However what i didnt expect is that applications like cron would email me.
One of my cron scripts before backing up the db tries to create path/year/month/ and since year and month already exist i get the email
From: Root Subject: Cron <root@myserver> /path/scripts/mysqlbackup.sh mkdir: cannot create directory `2010': File exists mkdir: cannot create directory `09': File exists
How do i make it stop? Its only been up for an hour so if this is the only error i'll simply just fix the script.