Last Updated: February 25, 2016
·
914
· wildtangent

WP-Cron - If you're using frontend caching

Tried doing what all the posts suggest

wget -O - -q -t 1 http://domain.com/wp-cron.php?doing_wp_cron=1

But....

If you've got your front end cached in Memcached then this doesn't look like it works

Better to use a POST instead then it should always go through your proxy cache without problems

curl -X POST http://domain.com/wp-cron.php?doing_wp_cron=`echo $(($(date +%s%N)/1000000))`

Have a fresh tip? Share with Coderwall community!

Post
Post a tip
Did you know?

WordPress sites collect scripts from themes, plugins, and tag managers. A compromised plugin update can add a skimmer to every page without a change in your own templates.

Security insights from Cside