| bio | website | Tomakefast.com |
|---|---|---|
| location | Austin, TX | |
| age | ||
| visits | member for | 2 years, 3 months |
| seen | May 1 at 23:07 | |
| stats | profile views | 37 |
PHP Developer @ http://Tomakefast.com • http://www.linkedin.com/in/pjbrunet • #PHP #MySQL #CSS #NginX #WordPress #Linux #Austin #Texas
|
Apr 14 |
comment |
Is it safe to run wp-cron.php twice if the first instance takes too long? @s_ha_dum I don't know. First time I executed it from the command line, it finished in 5-10 seconds. But I was watching it run on "top" and I noticed one time it was going to run for over 10 minutes so I decided it would be best to not have wp-cron.php overlap itself. Then again, I have no idea how much time wp-cron.php NEEDS. I could pick an arbitrary time like 30 minutes but I know this blogger might want to have a deal post to her blog while she's driving to the store, her business is very time-sensitive like that. I've never actually scheduled a post myself so this is all new to me. |
|
Apr 14 |
revised |
Is it safe to run wp-cron.php twice if the first instance takes too long? added 1426 characters in body |
|
Apr 13 |
revised |
Is it safe to run wp-cron.php twice if the first instance takes too long? added 581 characters in body |
|
Apr 13 |
comment |
Is it safe to run wp-cron.php twice if the first instance takes too long? @s_ha_dum "pretty broad and open-ended" I was just thinking the same thing about wp-cron.php. There doesn't seem to be any standard recommended way to run it. Perhaps out of respect for various web hosts, various control panels, varying levels of access to the server, various posting scedule, etc. |
|
Apr 13 |
comment |
Is it safe to run wp-cron.php twice if the first instance takes too long? @s_ha_dum All the tutorials I've found, they are all slightly different. Some say do 30 mins. Some say do an hour. What if a blogger needs to schedule a post to run in 15 minutes and wp-cron.php only runs every 30 mins. Do you see how that's a problem if the previous instance of wp-cron.php didn't have time to finish? What am I doing? Ask whoever wrote wp-cron.php ;-) The blogger is constantly posting updates through the day. So for example, she's taking a trip tomorrow and needs to schedule posts while she's offline. But scheduling posts is part of her business. |
|
Apr 13 |
asked | Is it safe to run wp-cron.php twice if the first instance takes too long? |
|
Jan 25 |
comment |
xmlrpc.php diagnostics test? It seems my particular problem was solved by disabling NginX keepalive connections. However, I think the ultimate answer to my question would be a script that runs a battery of tests, showing stats such as posts per minute, edits per minute, image transfer rate, large image test, detailed error messages with configuration suggestions for the webmaster. If I had time, I'd write it myself :-) In any case, here's a list of blog clients codex.wordpress.org/Weblog_Client |
|
Jan 22 |
comment |
xmlrpc.php diagnostics test? @Wyck I tried both your suggestions. Your curl command revealed I was using keep-alive connections so I tried turning off keep-alives in NginX. Still seems a little slow with ScribeFire (at least to me) and no official word back from the client yet but I think MAYBE the 502 Bad Gateway errors are gone. xmlrpc.log isn't showing errors but as far as I can tell it's allowing her to post images, etc. Yes this is a common problem but I'm updating my progress in more detail here ferodynamics.com/testing-xmlrpc-php-again if anyone's interested. |
|
Jan 21 |
comment |
xmlrpc.php diagnostics test? That's not the point of my question but let's go: 1. Server setup, that's what I focused on. 2. I didn't think to reboot the client's router--what does the client's router have to do with fpm vs. spawn? But I did ask her to reboot. 3. No filepaths at least when I was getting 502 Bad Gateway at home. The client is a very heavy Live Writer user, I doubt she starts to make this error the same moment I switched to php-fpm. 4. As for the version, when I "yum install php-fpm" that bumped up PHP version, which probably changed php-xmlrpc, which I hope did not break compatibility with Live Writer. |
|
Jan 21 |
asked | xmlrpc.php diagnostics test? |
|
Jan 16 |
revised |
How well does WordPress scale? Updated my answer and added some cache code |
|
Oct 20 |
answered | Blog has an infinite redirect loop |
|
Jul 14 |
awarded | Scholar |
|
Jul 14 |
accepted | Function to list all post slugs for every post in my WP database? |
|
Jul 14 |
comment |
Function to list all post slugs for every post in my WP database? Thanks for the quick answer Michael. I'm actually moving posts out of WP so technically I'm not "in the loop". Surprisingly, I found the answer through Google Plus almost immediately after I posted the question: PJ Brunet - +Lloyd Budd I didn't see the slug in wp_posts, I'll check the_permalink() that's probably what I need. Lloyd Budd - +PJ Brunet the column is post_name. PJ Brunet - That worked. For example "select post_name from wp_posts LIMIT 500;" That's pretty much what I needed. |
|
Jul 14 |
asked | Function to list all post slugs for every post in my WP database? |
|
Feb 25 |
comment |
Wordpress multiple pages on one page via button switching However, Matt Cutts admits there is a "hidden text" penalty now. If you care about SEO, do some research on this. This has people with tabbed product pages freaked out and (as far as I know) Matt is not very specific about how much info in "hidden" tab is too much. So if you have a lot of information per tab and you care about SEO, consider avoiding javascript-based tabs and make a totally new URL for each tab. |
|
Feb 25 |
answered | Wordpress multiple pages on one page via button switching |
|
Feb 25 |
answered | migrate a MU sub blog to a single install |
|
Feb 24 |
revised |
In terms of performance - Is unmanaged VPS better then a managed one - for WP sites? added some links |