CRON Job Not Sending email

GaMerZ

Verified User
Joined
Mar 16, 2006
Messages
10
Hi All,

I have a cron job
Code:
/usr/bin/mysqldump –user=”mysql_username” –password=”mysql_password” –opt –all-databases | /usr/bin/mysql –host=192.168.1.1 –user=”mysql_username” –password=”mysql_password”
which runs everyday at 00:10 in DA, but it is not sending me any email after it is being run. Any ideas?
 
There is no output at all, unless there are errors, from that command.
To always receive a message, put "echo MySQL Backup started; " before that and "; echo Mysql Backup finished" at the end.
 
Back
Top