Cron Job Email Output

By default: Cron sends output to account email.

Set Cron Email Address

cPanel → Cron Jobs → Update Email → Enter preferred notification address.

Suppress Unwanted Emails

Redirect Output to /dev/null

/path/to/script.php > /dev/null 2>&1

Log to File Instead

/path/to/script.php >> /home/user/cron.log 2>&1

Best Practices Table

ScenarioCommand Ending
No email needed> /dev/null 2>&1
Log errors only2>> /home/user/error.log
Full logging>> /home/user/cron.log 2>&1