Retriev3r
9/11/2017 - 11:25 PM

Disable WP cron

Disable WP cron

define('DISABLE_WP_CRON', true);
*/5 * * * * wget -q -O - "http://mydomain.com/wp-cron.php" > /dev/null 2>&1

#Sometimes it might be required to run PHP directly:
*/5 * * * * php /home/$USER/public_html/wp-cron.php

#You can also do it using curl:
*/5 * * * * curl -vs -o /dev/null http://mydomain.com/wp-cron.php > /dev/null 2>&1