• 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 har en bakgrund som konstruktör inom realtidssystem, de system som finns inbyggda i bilar, flygplan mm. Sedan tio år är jag företagare.

Utbildad systemvetare med en master i psykologi och mitt intresseområde finns där människor och datorer möts. En dag förstår vi varandra 🙂

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

Jag uppskattar din kommentar

Under många år har jag lagt ner tid och engagemang på att hjälpa andra med deras wordpress-sida. Jag uppskattar all form av feedback för på så sätt så blir arbetet roligare och jag vet om det är uppskattat. Så varför inte skriva ett enkelt tack - om du fick tips för att lösa ditt problem eller löste det!
Tack för din återkoppling!
Karin

0 0 Röster
Article Rating
Prenumerera
Uppdatering av
guest
guest
0 Kommentarer
Oldest
Newest Most Voted
Inline Feedbacks
Se alla kommentarer

Sidebar

Today’s words of wisdom.

Economics: the murky science.Thomas Carlyle

Popular

  • Searching and editing in WordPresssearch
  • My images are cut (cropped) – about image…wood-working-garden-tool
  • Why do my scheduled posts not appear?function
  • Scroll forever – infinite scrollAbstract background with gold infinity sign
  • Need to roll back an update in WordPress?rollback

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 © 2025 · WordPress Akuten · All Rights Reserved

  • English
  • Svenska (Swedish)