dapurhosting.com Blog for Tech

January 14, 2012

Disable wp-cron.php

Filed under: Worpress — dh @ 4:26 am

Disable wp-cron.php

add this to wp-config.php
define('DISABLE_WP_CRON', true);

comment this line on public_html/wp-includes/Cron.php
//spawn_cron( $local_time );

add this to user cron job

php -q /home/cPanel_User/public_html/wp-cron.php > /dev/null 2>&1

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Powered by WordPress