wp-toolkit cannot change cron command generated

leonep

Well-Known Member
Nov 18, 2014
163
8
68
Pescara
cPanel Access Level
Root Administrator
Hi guys,
i am using wptoolkit in whm to disable wp-cron
it's nice feature but i have a little problem.
after activating this option the system automatic insert a new rule in cron ...



15 5 * * * cd /home/xxxxxxxxx/public_html && /usr/local/bin/php /home/xxxxxxxx/public_html/wp-cron.php

it's very nice . i can also adjust frequency of cron !

now the problem is that this script is sending mail to default account.
so i thinK to add null to output of command using /dev/null 2>&1

result is .... the wptoolkit generates another rule !!!!!!!


the question is : HOW TO STOP SENDING MAIL !


thanks
 
Last edited by a moderator: