silent cronjobs “>/dev/null 2>&1″

This will prevent send cronjobs notification emails to administrator. If you want to receive email notification in case a cron job failed to run properly, just use “>/dev/null” instead of “>/dev/null 2>&1″. “>/dev/null” will only ignore standard output, but will send all warning, debug, error and any other exception messages to root or email address specified.

Leave a Reply

Your email address will not be published. Required fields are marked *