Don’t send emails of CRON jobs in Plesk control pannel

If you use Plesk control panel to create CRON jobs and don’t want results to be sent to you by email, in Command field add ” > /dev/null”. For example:

php cron/my_script.php > /dev/null/

This will not send you result, bt will send email if there were some errors. If you don’t wan’t to get any errors just add ” > /dev/null 2>&1″. For example

php cron/my_script.php > /dev/null 2>&1

Leave a Reply