Anybody know how wp-cron.php in #WordPress works, exactly? It can be invoked explicitly, and it a also runs implicitly at the end of other HTTP GET requests? Is that right? And then, if there are 1000 things in the queue, what does it do? Are the queue entries all "deliver asap" or can I schedule things for the future?
Show previous comments
@j12t for 99.9% of uses, wp-cron is perfectly fine for most sites. If your site is (really) high traffic or the job you want to run requires a specific timing, then maybe you should look at something else. But again, for the normal reasons you want to use wp-cron, it works perfectly fine, by just leaving it alone. If you describe your use case, then I can give you more information on the right way to do it, because yes, I know exactly how it works. However, explaining it is... convoluted. Lots of helpful people here @pluhmen @ross @otto42! Thanks all!! My use case is non-standard :-) For FediTest.org, I'd like to deliver outgoing ActivityPub messages asap, so my tests don't take longer than necessary. I've attempted to invoke wp-cron.php manually but it's not sending immediately ... 15 times with 1 sec delay often works, but not always. As soon as I open any page in the browser, it goes through, however. It's the unpredictability that I'm trying to understand ... @j12t The stock mode is cron is triggered by a visitor. So, no visitors, no cron. Or, heavily cached, maybe no cron. Once you get a visitor, cron is triggered and a 60-second lock put in place. It is possible during an overwhelm of traffic (cough fediverse previews cough) to call cron multiple times before that lock is in place. Alternatively you can use curl */10 * * * * curl http://example.com/wp-cron.php > /dev/null 2>&1 And disable the cron in wp-config.php: define('DISABLE_WP_CRON', true); Musical fun. This piece and many others by the same creator. Works even better if you know the underlying piece and can read the sheet music. Good article with a well-reasoned critique of #Solid. I could think of a few more points to make, but it hones in very thoroughly on some key problems. https://solidlabresearch.github.io/WhatsInAPod/ h/t @jaz The virus that keeps on giving. https://www.yalemedicine.org/news/3-things-to-know-about-xec-the-latest-covid-strain A working Turing Machine was submitted to Lego Ideas, consisting of approximately 2,900 parts and a bucketload of extreme cleverness #Turing #Lego https://ideas.lego.com/projects/10a3239f-4562-4d23-ba8e-f4fc94eef5c7
Show previous comments
If what you built works better than you predicted, does that make you a good or a bad engineer? That’s a puzzler. We can build the web that we want to see. Watch the recording of my talk from #XOXOFest!
Show previous comments
@molly0xfff thank you so much for sharing! The talk was great! The Internet was more exciting then than now. And enshittiifcation is taking all that is left now. Especially disappointing for what is happening with Mozilla lately. @molly0xfff I love the idea of reviving the old spirit of the web. And that younger generations get what was great about it. Just recently saw this video by a Gen-Z'er promoting the idea of making home-pages. But we'll need new tech to help us connect and find each other ... the good old "web-rings" won't do it anymore. :blobfoxlaughsweat: @molly0xfff great talk, and made me realize how young you are! Your experience as a preteen discovering the Internet just by reading makes me go back to talk to my kids in English. They are 5 and 7, and I used to speak to them almost 100% in English until 4ya. The reason I stopped is complicated, but mostly: I'm not a native speaker. This will stretch my patience limit because everything will be slower for a great while, but I think it's worth it. I hope my kids discover the same web you did. @j12t I have long felt that if you're registering a domain, you should use an independent TLD (.com, .net, etc.) If you want to use a 2 letter TLD (country code), it should be for the country you live in or have citizenship in. Otherwise you're just risking having the rules of the registrar pull a fast one on you. "Oh, you're not a citizen? Our TLD is only for citizens or businesses of our country. Too bad for you." Is there a thing like Firefox containers, that is actually a product and not some kind of abandoned-in-the-middle-of-development? Like where bookmarks to URLs into specific containers actually works? Any browser, any configuration ... We have already suspended about a dozen spam acocunts and at least temporarily blocked about 6 servers. BTW: to all #Fediadmin #Mastoadmin folks out there, @iftas has been an invaluable resource today, and strongly recommend you join and support them. They are in a fund raising window now: Our server is proud to be one of the early supporters: https://about.iftas.org/first-50/ And you can give to support them here: https://about.iftas.org/donate/ Again a day where the weather forecast was substantially lower than actual temperatures. What was supposed to be a high of 94 degF was actually 100 degF (34 degC vs 37 degC). Like yesterday and the day before. I have not seen the opposite is some time. Looking for a mark to scam easily? There is a place where all of the easiest victims congregate and and love to be social with strangers. https://gizmodo.com/truth-social-users-are-losing-ridiculous-sums-of-money-to-scams-2000506604 I counted almost 30 people in the W3C's SWICG / SocialCG meeting today. The standards community for the social web is growing again. This is excellent! |