@tlwh
Could you please help me try to enable alternative cron?
modify wp-config.php ( you can find this file in your root directory ), and before the line:
/* That’s all, stop editing! Happy blogging. */
add this line:
define('ALTERNATE_WP_CRON' , true );
After that, please tell me if it works.
Thank you!
Thread Starter
Dave
(@tlwh)
Hmmm. I believe caching is preventing this from working.
@tlwh
interesting!
Could you please tell me why you think caching is the problem?
Thank you!
Thread Starter
Dave
(@tlwh)
Cloudflare and Cron
I was looking for a solution to something else when I stumbled on a lot of support issues across the board with WordPress Cron and Cloudflare – a simple Google with show up lots of references.
https://blog.justinwflory.com/2015/12/wordpress-cron-cloudflare-ssl/ as an example.
One thing I did not find though, was a solution that wasn’t so technical or did not involve setting up subdomains etc.
It would seem to be a tough answer to what’s happening, but I’m not sure there is a solution.
One needs to manually clear the cache of a page from cloudflares own side, then take into consideration local caching eg a plugin, not to mention anything a host may have. Then set an event somewhere that will pull that non-cached page and trigger the cron.
I’m not sure it’s possible. I know cloudflare allows a user to list a page not to be cached. Likewise admin pages. So one could possibly set something up so that this page is the cron trigger, but that sort of defeats the purpose and you’d likely have to go through a 3rd party to trigger the page / cron which can be temperamental in its own right.
I’d say this, might be, why you and other cron dependant plugins are getting random comments from people saying there are issues…
Interestingly this was not a problem with BackWPup several months ago. So either something changed on plugin side or cloudflare side if this is the problem. But so far, that’s what I can tell is likely causing this. Should be easy to set up a test server. But, from my experience, the site in questions needs to have a good amount of traffic for cloudflare to start caching it to this level where the problem occurs with the multiple back up issue.
I hope all this helps!
-
This reply was modified 8 years, 3 months ago by
Dave.
@tlwh
Thank you for the detailed info, I will contact to our other developers and talk about this problem 😀
Have a nice weekend!