How to Better Control WordPress Cron Jobs?

To disable WordPress Cron Jobs, place this in wp-config.php:

define('DISABLE_WP_CRON', true);

To schedule a cron job in Linux with cPanel for example…

This is the command you might run:

wget -q -O - http://www.your-domain.org/wp-cron.php?doing_wp_cron >/dev/null 2>&1

The end of the above command just suppresses any output.

Just pick the interval of your choice for setting up your cron job in cPanel or SSH or how ever you are setting up your cron job and use the command above.

The above command tells the Linux server to run wp-cron via wget, which will trigger the wp-cron.php script to do it’s job on your schedule instead of on each page view. This will lessen the amount of processes on the server.

I have immediately noticed a difference in my server load after making this change.