• Skip to main content
  • Skip to header right navigation
  • Skip to site footer
WP Akuten

WP Akuten

Take it easy - it will be fine

  • Tips
  • Development WordPress
  • Troubleshooting
Boka ett möte
Ring
Sök
  • Tips
  • Development WordPress
  • Troubleshooting

Why do my scheduled posts not appear?

WP Akuten > Tips > Why do my scheduled posts not appear?

skrivet den 14 November, 2019, uppdaterat den 4 December, 2024 av Karin H Olsson

line break

Sometimes posts are not published in the time you have set in WP.

You set the day and time and yet your post was not published.

Even if you think it’s a bug, it’s not, it could be because that’s how WordPress works.

WP Cron and how it works

The function to publish a scheduled post is started by a part in WordPress called WP-CRON. For the feature to kick in, something needs to happen on the website. And therein lies the problem!

Your website visitor triggers WP-CRON and then the function runs, so if there are no visitors to your website, wp-cron will not run and no post will be published. So the problem arises on pages with little traffic.

WP-cron also hates other things on your site and starts automatic updates, for example.

Use a custom cron job instead

The best and easiest solution is to run a regular cron job through your web host instead. Then you won’t be dependent on visitors and things will work the way you thought they would.

In the web host, you set a cron job to https://dindoman.se/wp-cron.php that runs every 5 minutes.

You should also add the following line to your wp-config.php to tell wordpress that you are managing cron alongside WordPress

define('DISABLE_WP_CRON', true);

Here you can read more about WP-cron

Cron

Karin H Olsson

Jag arbetar med teknisk utveckling i WordPress – framförallt när standardlösningar inte räcker.

Jag har en bakgrund som konstruktör inom realtidssystem (de system som finns i bilar, flygplan m.m.) och har följt utvecklingen hela vägen till dagens moderna webb.

Med utbildning inom både systemvetenskap och psykologi arbetar jag i gränslandet mellan teknik och användning – där systemen inte bara ska fungera, utan också fungera för människor.

→ Läs mer KoBoToLo – Om KoBoToLo en webbyrå i Karlskoga

Previous Post:Open in new window from the menu
Next Post:Automatic updates in WP
Kategori: Tips, Troubleshooting

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Sidebar

Today’s words of wisdom.

Economics: the murky science.Thomas Carlyle

Popular

  • Link to phone number website
  • Scroll forever – infinite scroll
  • My images are cut (cropped) – about image…
  • Searching and editing in WordPress
  • Line breaks on the web – absolutely not!

Du hittar mig i Värmland bland skogar, vargar och sjöar


Mail: info@kobotolo.se

Vill du istället att vi kontaktar dig så skicka ett mail så ringer vi upp. Du kan också fylla i vårt kontaktformulär:


Be mig kontakta dig


Maila mig



Tel: 070 – 49 34 191

Onsdagar 9.00 till 10.00 är vår stående hjälptimme. Då ger vi tips och råd per telefon till kunder och icke-kunder. Ingen fråga är fel!

Övrig tid kan vi tyvärr inte ge support per telefon!

Copyright © 2026 · WordPress Akuten · All Rights Reserved

  • English
  • Svenska (Swedish)