[wp-trac] Re: [WordPress Trac] #9016: Possibility to disable wp-cron
WordPress Trac
wp-trac at lists.automattic.com
Mon Feb 2 15:38:52 GMT 2009
#9016: Possibility to disable wp-cron
-----------------------------+----------------------------------------------
Reporter: erunafailaro | Owner: anonymous
Type: feature request | Status: closed
Priority: normal | Milestone: 2.7.1
Component: General | Version:
Severity: normal | Resolution: duplicate
Keywords: wp-cron |
-----------------------------+----------------------------------------------
Changes (by sivel):
* status: new => closed
* resolution: => duplicate
Comment:
duplicate of #9005.
This is already being worked on for 2.8.
In the mean time you can drop the following into wp-config.php
{{{
define('DOING_CRON', true);
}}}
Alternatively you can drop the following into your themes functions.php
{{{
remove_action('init', 'wp_cron');
}}}
Then you will either need to get the URL with the query string from your
access log or determine what the result of wp_hash('187425') is for your
install.
The resulting url should look something like http://example.org/wp-
cron.php?check=6f4e34aa4940414f4640443424747cc5
Then you need to schedule cron to curl or wget this url. Currently the
call in WordPress uses POST instead of GET.
--
Ticket URL: <http://trac.wordpress.org/ticket/9016#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list