[wp-hackers] code to do a loopback test for wp-cron
Donncha O Caoimh
donncha at linux.ie
Fri Oct 1 16:07:00 UTC 2010
WP Super Cache checks if the host can make a request to itself and
reports an error if not. It's fairly trivial code, and probably in
wp-cache.php if you have that plugin.
On 01/10/10 17:01, Philip M. Hofer (Frumph) wrote:
> I'm looking for a lead on how I can get a wp-cron loopback test going
> that would i dunno add a notices to the admin_notices hook on if it
> fails when enabled ..
> I'm getting a few support calls about 'missed schedules' and i'm
> looking for a way to 'test' whether or not its a loopback situation.
> Several times it's been the UTC setting; just by setting it to a city
> the missed schedules stopped happening, but more often then not its
> the communication back with itself.
> Does anyone have any ideas or a plugin maybe that already does it?
> Does a check whether or not it can communicate with itself?
> - Phil
More information about the wp-hackers