[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

send mail during cron job for sucessful task



Hey, I have the crontab setting up as following, whenever the job fail it will send email to me at
david abc com  but if the job is successful, it won't send mail.  Is there any way to send mail to
me even it is a successful task ??

MAILTO="david abc com"
0 18 * * * mysqldump -u bugsroot DB1 > /home/bugsroot/db1.bak

-----Original Message-----
From: Cron Daemon [mailto:root w2 abc com] 
Sent: Monday, December 12, 2005 6:00 PM
To: david
Subject: Cron <bugsroot w2> mysqldump -u bugsroot DB1 > /home/bugsroot/db1.bak

mysqldump: Got error: 1045: Access denied for user: 'bugsroot localhost' (Using password: YES)
when trying to connect


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]