↓
 

The PolyBlog

My view from the lilypads

  • Home
  • Goals
    • Goals (all posts)
    • #50by50 – Status of completion
    • PolyWogg’s Bucket List, updated for 2016
  • Life
    • Family (all posts)
    • Health and Spiritualism (all posts)
    • Learning and Ideas (all posts)
    • Computers (all posts)
    • Experiences (all posts)
    • Humour (all posts)
    • Quotes (all posts)
  • Photo Galleries
    • PandA Gallery
    • PolyWogg AstroPhotography
    • Flickr Account
  • Reviews
    • Books
      • Book Reviews (all posts)
      • Book reviews by…
        • Book Reviews List by Date of Review
        • Book Reviews List by Number
        • Book Reviews List by Title
        • Book Reviews List by Author
        • Book Reviews List by Rating
        • Book Reviews List by Year of Publication
        • Book Reviews List by Series
      • Special collections
        • The Sherlockian Universe
        • The Three Investigators
        • The World of Nancy Drew
      • PolyWogg’s Reading Challenge
        • 2026
        • 2023
        • 2022
        • 2021
        • 2020
        • 2019
        • 2015, 2016, 2017
    • Movies
      • Master Movie Reviews List (by Title)
      • Movie Reviews List (by Date of Review)
      • Movie Reviews (all posts)
    • Music and Podcasts
      • Master Music and Podcast Reviews (by Title)
      • Music Reviews (by Date of Review)
      • Music Reviews (all posts)
      • Podcast Reviews (by Date of Review)
      • Podcast Reviews (all posts)
    • Recipes
      • Master Recipe Reviews List (by Title)
      • Recipe Reviews List (by Date of Review)
      • Recipe Reviews (all posts)
    • Television
      • Master TV Season Reviews List (by Title)
      • TV Season Reviews List (by Date of Review)
      • Television Premieres (by Date of Post)
      • Television (all posts)
  • About Me
    • Subscribe
    • Contact Me
    • Privacy Policy
    • PolySites
      • ThePolyBlog.ca (Home)
      • PolyWogg.ca
      • AstroPontiac.ca
      • About ThePolyBlog.ca
    • WP colour choices
  • Andrea’s Corner

Tag Archives: error

WordPress, missed schedule, and why I don't run my own server

The PolyBlog
January 4 2017

The other night, I was browsing my posts list in my admin panel on the website and noticed something odd — my scheduled post for yesterday morning didn’t actually post. And right next to it in the internal WordPress admin panel was a nice little red warning called “missed schedule”. I had seen this before and thought it was just a glitch, no biggie — just click publish now and it goes live. No problem with the post, it just didn’t go live when it should have. I don’t often schedule future posts when I’m writing detailed posts, although I might change the time stamp to 8:00 or 9:00 in the morning even if I’m writing it at 1:00 in the afternoon, like now. Just a small quirk I do to manage an indexing protocol that checks the time stamp, no real reason.

However, from time to time, I will write a bunch of posts all at once, and I want them spread out over several days. So I “schedule” them for future publication, usually 9:00 in the morning. So, the question was, “Why didn’t they post?”.

Running around the WordPress community

As with most glitches with WordPress, one is often not the first person to encounter it. Simply googling “WordPress Missed Schedule” brought up a whole series of people who had the same problem, posed the question online and had people respond. In most cases, their problem was slightly different in config once I scratched the surface, or the solutions were a bit different than what would seem to fit my situation. However, they did send me looking into several plugins.

I tried a plugin called WP CRONTROL that wasn’t a fix so much as a way to glean some additional diagnostic information. Namely that the small “glitch” was bigger than I thought — my CRON file was not running, and there were problems going back to August. Hundreds of behind-the-scenes happen on your website without your having to control them directly, little bots that can run from time to time, and your website software or the server software has ways to schedule them. Basically the same as your CALENDAR on your computer keeping track of reminders, etc., or even your regular WINDOWS update that does certain things at regular intervals. In this case, WordPress has a file that keeps track of all things it has to do (its own internal to-do list) called WP-CRON. I started trying to clean out the long list of expired entries but it would take forever.

So I added another cron manager called ADVANCED DATABASE CLEANER. Sure, I could have logged into the PHP admin area of my website and manually cleaned things in my database, but why would I do that when this plugin would do it for me?

Down the rabbit hole

I went down a rabbit hole after that. Lots of little tips and tricks everywhere, but few that were specific enough to help me, nor even in a good logical fashion. More like eight hundred people playing hunches and trying something on their server, some with luck, some with none. I jumped the queue while I was working through some of the options and started chatting with the Server Customer Support Rep, but honestly, their Tier 1 people are more about sales than they are tech support. They do okay, but this is way beyond them.

What I often find helpful though is that explaining the problem to them seems to crystallize it better in my own mind, and often triggers thoughts to try x or y that hadn’t occurred to me earlier or that I dismissed too soon. And it gave me a structure for understanding how to solve the problem.

A. GET YOUR DIAGNOSTICS

As I mentioned above, I used WP CRONTROL to see the list of cron activities and ADVANCED DB CLEANER to fix it a bit. WP CRONTROL also told me there was a 403 error (forbidden) on the WP-CRON file, but it wasn’t very convincing since some of the other errors might be causing it.

After going around the pole a few times, I found a great little tool called WP CRON STATUS CHECKER. It only has a few hundred downloads/installs, and it is a great little tool. The plugin doesn’t have a lot of info with it, but it adds a widget in your dashboard that tells you the status of your CRON files. It DOES nothing to fix problems but it does a quick test to see if WP-CRON can even run, and if not, tells you the status (403, etc.). I wish I had found this first. It told me for sure part of the problem was that WP-CRON was not running. And once fixed, you can deactivate it and leave it off. If you leave it activated, it will run on its own every 24 hours to check, but my site isn’t busy enough that I need that level of monitoring.

B. CHECK .HTACCESS

HTML sites have a small file in the directories called “HT access” that controls how visitors can access the individual files in the directory and subdirectory and is the second line of defense against people doing silly things like writing files and overwriting certain files on your site. On sites like WordPress, it’s the equivalent of a master security file that controls a lot of the subsequent access rights.

Some sites said to see if .HTACCESS was corrupted, but I was pretty sure mine wasn’t (I have other plugins that check the status of HTACCESS regularly, they would throw flags if it was corrupted).

What the sites FAILED to mention was that it isn’t just simple CORRUPTION that could be screwing up WP-CRON, it could be the actual proper setup is messing with it. I should have thought of that immediately when I saw the earlier 403 FORBIDDEN message in WP CRONTROL, but when I saw it again in the WP CRON STATUS CHECKER, I knew I had found my problem. Unfortunately, I did this step sixth or seventh instead of second!

The simplest way to see if .HTACCESS is your problem is to temporarily rename it something like .HTACCESS_TEMP or .HTACCESSXX. Then check the status again — if it was .HTACCESS causing the problem, the status will go green when you check after renaming it. If it is still red, move on to other options.

C. CHECK SECURITY PLUGINS

I run WordFence and iThemes, and of all the types of plugins, security ones are the most likely to cause access issues like above and conflicts with other plugins or activities. So, I temporarily deactivated them and then checked my other settings. Nope, still broken, so that was out.

D. CHECK OTHER PLUGINS

Anyone who has had a problem with WordPress, or really any CMS ever, they know that the simplest way to look for a conflict is to just deactivate all your plugins. Considering some people are running TONS of plugins, this isn’t often the favorite solution, but it’s better than turning them off and on one at a time. I deactivated them all, checked status, still broken.

E. CHECK FILE PERMISSIONS FOR WP-CRON

Of course, lots of people would say to check this one first — if WP-CRON is the problem, the “obvious” first step could be to check the file permissions on that specific file to see if the settings are wrong. Good logic, but since WP sets them in batches, the reality is that other files would likely have the wrong settings too and would have thrown red flags much earlier. Remember that this is a low-level file that only flags errors when it DOESN’T run.

For me, I temporarily changed the setting to 777, full read/write/execute and checked status again. Still broken.

F. CHECK FOLDER PERMISSIONS FOR WP ROOT DIRECTORY

I can’t say this would have occurred to me on my own. If WordPress is running, the folder must be set pretty close to right, or the red flags would be borderline catastrophic for failure. Never the less, it was still worth a try — again, I changed to full 777 rights, no change, still broken.

Why did I do all those things?

If all those had failed, I would have eliminated the three most likely internal problems:

  • corruption of access files;
  • access / permissions to the file or folder; and/or
  • conflict from security or other plugins.

That leaves you three other options that I’ve seen:

  1. Try a plugin called WP MISSED SCHEDULE. It isn’t on the main WP install directory, you have to do it manually from GITHUB. I’m personally leery of installing plugins that don’t reside in the WP repository, and on top of that, the installation instructions did not seem awesome for clarity. Lots of people have tried it and had it fail; others did it and said it worked; others said, “huh?”. I also feel like if the problem was any of the first five, this plugin would not fix any of those issues.
  2. Check with your host to see if there is a server config issue. Lots of people have said very simply, “Oh, it’s a config issue, contact your server”, but that is a bit too reactionary. If it is any of the above issues, the server people won’t know how to fix the problem either and unless you’re paying a lot for access to their tech support personnel, they’ll say, “Sorry, that’s a software issue, you’re on your own”. I used mine to get the ticket started, but I had resolved the diagnostic phase before we were done creating the ticket and I had figured out it was an .HTACCESS issue which they don’t help with anyway.
  3. Bypass WP-CRON and create a server cron file to do it at the server level. Yep, to me that’s as advanced as it sounds. If you google, you’ll see lots of people who have written why they don’t use WP-CRON, why they turn it off, etc. Almost all of them are hardcore techies who are totally comfortable running LINUX, the type who would thumb their nose at building a Raspberry Pi project as “toys for kids”. If you go this route, and you have access to CPANEL setup, it really is a single line to tell it what to run and when, but I confess it didn’t work for me, and I didn’t want to mess around too much in that level of direct intervention

You might note that I’ve also left out the nuclear option of reinstalling WordPress from scratch. Honestly, that is pretty low on the list of probable solutions if you have done an upgrade from a previously working version and haven’t mucked around with the configuration too much recently. It *should* work, and if it doesn’t, something else is likely configured wrong, not your basic WP install. Always worth a shot of course, and many people would say to start with that in the first place. Who would say to do that? Those who did everything else, failed, tried a fresh install and it solved their problem and now they preach purity of install. 🙂

So what does this have to do with running my own server?

All of these problems? And I’m only talking about a SMALL software config issue that sent me way down the rabbit hole. If I was running my own server, I would have another 20 possible causes, all having to do with either server configuration or potentially even a hardware issue. One of the “saving” graces to paying someone else to carry the load of managing / running a server with a large hoster is that the cost/benefit ratio to me is WAY in my favour, particularly the number of times a problem like this has frustrated the hell out of me. I don’t need that added stress in my life. And if others are running the same install just fine on the big server, I know it is MY problem, not a technical screw-up that I did in the server setup. Worth it’s weight in gold.

As for me, now that I know it’s an HTACCESS challenge, I can push it to the back burner. I can work around it for now, and at some point, I’ll fix it. For now, I’m leaving it alone.

If you ended up here while searching for a solution, feel free to let me know how it’s going in the comments!

Posted in Computers | Tagged computers, design, error, missed schedule, software, website, WordPress | Leave a reply

A horror-filled business case…

The PolyBlog
August 25 2016

Back in January of this year, Joe Castaldo published an article through Canadian Business magazine. It has a relatively innocuous title — “The Last Days of Target” — but the sub-title gives you a hint of the content…”The untold tale of Target Canada’s difficult birth, tough life and brutal death”. I didn’t see the article at the time, and I’m not even sure I would have clicked if I had. After all, wasn’t the demise of Target relatively straight-forward?

It seemed so to the casual observer. Towers, K-mart, Woolco, Zellers…all of them went down-market, bottomed out, and couldn’t make it work. Enter Target to try and tread the same path with a hopefully different ending. One more akin to Walmart. I’d been curious about Target when it opened, in the same way that I am curious when I see a coffee shop open and close in a location, only to be replaced a few months later by, yes, you guessed it, another coffee shop. Particularly when it isn’t part of a chain that will sustain it through the lean start-up months…somebody else just tried the same thing in the same spot and went bust. Yet here is someone else dreaming their dream, and repeating the same process, options, and outcomes.

When I visited Target, I saw slightly better clothing options than the previous Zellers, prices were good, nothing that stood out in electronics, toys, etc. that said: “buy me”. And, while I did buy a few things over time, I did notice a lot of empty shelves at times but far more importantly? Empty stores. No one was shopping there. You could shoot a cannon through the store, just as you could have through most Zellers outlets, particularly the one in the same location previously. Some people said Target would make money off the groceries and household consumables, but that’s not really a draw for me. I like shopping at PC stores or other various grocers. And Shoppers Drug Mart serves me just fine. I wasn’t their prime demographic, true, but I’m not against saving money if the place is reliable.

Yet reading Castaldo’s article is like reading a mix between a Harvard Business Case and a Stephen King horror novel. The errors and screw-ups and just complete incompetent management behind the scenes are mind-boggling. Back when I was in university, we did a “practical” strategic analysis of a local recycling company. We were all young business students, wanting to help them plan their strategic future, we were going to help them figure it out, bring our academic excellence to bear. After working with them over a few weeks, it became painfully obvious — their biggest threat was their own operation. They needed to make sure they could get the big doors open at the factory reliably EVERY morning so they get the trucks on the road for pickups, long before they could start thinking, “What’s next?”. And that was our recommendation…forget the future, you got to make sure the doors are open. After reading the article, I’m left with the same reaction — forget all their business acumen, how did they even get the doors open on the first store?

The article is awesome, but here are some of the highlights:

  • they couldn’t figure out basic distribution from warehouse to the retail stores, and to be able to restock … basic principles stores have been doing for years yet they ended up with extensive empty shelves in stores…it even took them 2 years to figure out that dates for delivery from vendors were being interpreted as shipping dates instead of when they should arrive…2 YEARS????;
  • choosing SAP to integrate all their systems with a two-year window and not paying enough attention to data integrity (see this excerpt: A team assigned to investigate the problem discovered an astounding number of errors. Product dimensions would be in inches, not centimetres or entered in the wrong order: width by height by length, instead of, say, length by width by height. Sometimes the wrong currency was used. Item descriptions were vague. Important information was missing. There were myriad typos. “You name it, it was wrong,” says a former employee. “It was a disaster.”)…end result? Only 30% accuracy;
  • registers spit out the wrong change or charged the wrong prices or oftentimes confirmed credit card payments that hadn’t actually gone through;
  • massively ambitious launch schedules; and,
  • insanely optimistic sales projections, particularly when they decided not to try and compete on groceries to get people into the store given the level of existing competition on groceries in Canada.

The standard explanations for the scope of the disaster are there…nobody wanted to be the bearer of bad tidings, they tried to make something work with new untested techno systems rather than adjusting working solutions, leaders were not experienced battle-tested problem solvers, over-extension happened before solidifying the basics, a lack of training…the usual suspects. All knowable though.

However, two examples really stood out for me. First, their internal business analysts switched off the “warning” indicators in their software for stock replenishment so that they wouldn’t look bad (not unlike removing the battery in your fire alarm because you don’t like the noise instead of seeing why smoke is filling your house). Second, one week they released their new flyer and every item on the first page was out of stock before the stores even opened that week.

While they fixed a lot of the issues, it was too little too late. Kind of like the classic cliché, they didn’t get a second chance to make a good first impression.

As an aside I love the reference to their decision to use SAP though…that decoding it was like peeling an onion, there were many layers and it made you want to cry.

Hard to believe that a company the size of Target could get SO many things wrong, and some of them pretty basic as well as known pitfalls to avoid.

Posted in Learning and Ideas | Tagged business, error, horror, ideas, Target | Leave a reply

Countdown to Retirement

Days

Hours

Minutes

Seconds

Retirement!

One of my favourite sites

And it's new sister site

My Latest Posts

  • Book clubs 2026-04: Options for AprilApril 22, 2026
    March was extremely productive in my personal life, but not so much for reading. I was still finishing My Friends by Fredrick Bachman, and the first 20-25% was a struggle. I loved it, in the end. And I’ve been doing huge personal projects, so no reviews lately. Let’s take a look at the options for … Continue reading →
  • AI testing: The Bad…Time loops, tech support quirks, and driftApril 18, 2026
    By now, most people have seen some form of AI crop up in their tools. The most obvious one is Google’s search engine, which provides results from its AI mode first in the list. You can go pretty far with that prompt, even asking for image creation, although that’s a terrible place to create images … Continue reading →
  • More workplanning on my new Calibre libraryMarch 28, 2026
    I wrote earlier this week (Using Calibre to embrace my inner librarian for ebooks) about the Poly Library 3.0, and when I did, I thought I had most of my “work” done. I had decided on three main areas (the book profile, user engagement, and user tools), although, truth be told, I had four categories … Continue reading →
  • An update on Jacob…March 24, 2026
    For those of you who don’t know, as I didn’t blog about this much before, Jacob decided to have surgery on his legs this year, which he did at the end of February. I’ve held off posting anything as I didn’t want to ask Jacob what he was comfortable with me sharing, but today was … Continue reading →
  • Using Calibre to embrace my inner librarian for ebooksMarch 23, 2026
    I have used Calibre literally for years to manage all my ebooks. It started way back when Kindle was doing a huge business of people pushing freebies of their ebooks. Some good, some slush, all free. But it meant a LOT of ebooks to manage. So I tried a couple of programs, most of which … Continue reading →

Archives

Categories

© 1996-2025 - PolyWogg Privacy Policy
↑