Scheduling Wordpress jobs using cron

Scheduling Wordpress jobs using cron will be more stable then depending on the default Wordpress scheduler. The scheduler will only work when there is traffic.

Create the file /etc/cron.d/wordpress

[root@wwww1 remco]# cat /etc/cron.d/wordpress
*/1 * * * * root curl http://10.5.1.11/wp-cron.php?doing_wp_cron -H "Host: www.site.com" -vvv > /dev/null 2>&1

And update wp_config.php to disable the default scheduler.

define( 'DISABLE_WP_CRON', true );