JojieRT Posted October 23, 2009 Report Share Posted October 23, 2009 I tried a hosted domain email (but not mx'd locally) and a gmail account email and did not get an email notification on either. Is this a known issue? Thanks. George Quote Link to comment Share on other sites More sharing options...
Tony Posted October 23, 2009 Report Share Posted October 23, 2009 It only emails when there is output. Is there any actual output? If you redirect to say /dev/null there will not be or if you use -q on a PHP script. There are other cases to but I cannot remember those off the top of my head. Quote Link to comment Share on other sites More sharing options...
JojieRT Posted October 23, 2009 Author Report Share Posted October 23, 2009 OK, I included -v to tar and I get an email. Thanks. George Quote Link to comment Share on other sites More sharing options...
Cody R. Posted October 24, 2009 Report Share Posted October 24, 2009 OK, I included -v to tar and I get an email. Thanks. George Just to elaborate on why this works (in case anyone finds this useful in the future) the -v means verbose output - meaning the script will be verbose and ouput text. As a result the cron will e-mail the output Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.