paultwang Posted January 24, 2006 Posted January 24, 2006 If I don't want the cron daemon to send me e-mails everytime it runs my cron job, should put the e-mail as /dev/null or :blackhole: ? Quote
abinidi Posted January 24, 2006 Posted January 24, 2006 You could probably also set up a forwarder that forwards to :fail: or :blackhole: Then use the forwarder's address where requested by the cron job. I dunno. Maybe there's some reason why that wouldn't be a good idea, but it seems to me to be an easy solution.... Quote
TCH-Bruce Posted January 24, 2006 Posted January 24, 2006 This is how I set up all my cron jobs >/usr/bin/php -q /home/my-cpanel-id/public_html/my-path/my-script.php > /dev/null I'm just using PHP as an example. If there is an error during the execution I still get email in my domain default email account. But no error, no email. Quote
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.