Adding > /dev/null 2>&1 to cron

greektranslator

Well-Known Member
Jun 5, 2011
118
10
68
Greece
cPanel Access Level
Root Administrator
I had this line

Code:
26 0 * * * (/usr/local/cpanel/scripts/fix-cpanel-perl; /usr/local/cpanel/scripts/upcp --cron)
And changed to in order to stop upcp emails:

Code:
26 0 * * * (/usr/local/cpanel/scripts/fix-cpanel-perl; /usr/local/cpanel/scripts/upcp --cron > /dev/null 2>&1)
Is this the correct way?