Base de conhecimento

Scheduled tasks and cron jobs

How to add a schedule, how we run WordPress's own scheduled tasks for you, and how to see whether it ran.

Zinn®, o nosso viking, a ler a sua lista de verificação ao lado de um índice de artigos com um aberto.

Sites → your site → Scheduled tasks.

Adding one

A command and a schedule. The command runs in the same environment as the site, with the same PHP version, so wp cron event run --due-now or php artisan schedule:run behave exactly as they do in your shell.

WordPress's own cron

Left alone, WordPress runs its jobs on page views, so a quiet site runs its scheduled work late, or not at all, and a busy one runs it thousands of times.

We already fix this for you. Every WordPress site we host gets a real schedule that runs WordPress's tasks every five minutes, and DISABLE_WP_CRON is set so page views no longer trigger them. You do not need to add a schedule of your own for it; adding one would run the same tasks twice.

To check it on your site: Sites → your site → WordPress → Tools → Scheduled tasks. The card says "We run these for you every 5 minutes" when our schedule is in place, lists every task WordPress has queued with when it is next due, and lets you run one now.

On a free trial

Scheduled tasks you add are a paid feature. The task your site's app needs, which we set up for you (for example WordPress's scheduler), keeps running on a trial: the Scheduled tasks card lists it under "Set up by us for your site's app" with when it last ran. To add your own, choose Upgrade to a paid plan on that card (Billing → Plan); tasks you add then run straight away.

Seeing whether it ran

Each task keeps its last runs with the exit code and the output. A task that has never produced output has never run, which is the answer to the commonest question about this screen.

What it cannot do

A scheduled task is bounded — it is stopped if it runs far longer than its schedule, so a job that hangs cannot pile up copies of itself. If you have work that legitimately takes hours, split it or tell support and we will look at it with you.

Este artigo ainda não foi traduzido para o seu idioma, pelo que está a ler a versão em inglês.

Mais recentes do blogue

O que temos escrito sobre alojamento, SEO e gestão de sites em escala.

SEO and Link Building from the Hosting Layer: A 2026 Operator's View

How hosting shapes indexing and link equity in 2026: keeping pages indexed, vetting aged domains before you build on them, link building without a footprint, and an honest line on what infrastructure can and cannot do for SEO.

Ler o artigo →

Making WordPress Fast and Secure: A Performance and Plugin Checklist

A practical checklist for fast, secure WordPress: server-level caching, a per-site object cache, the handful of plugins worth running, keeping the stack current, and the WooCommerce pages you must never cache.

Ler o artigo →

How to Choose Managed Web Hosting in 2026: A Buyer's Guide

What actually separates good managed hosting from a cheap box with a control panel — migrations, backups, isolation, real caching and honest scaling — and how to judge it before you commit.

Ler o artigo →

Ler o blogue →

Ainda com dúvidas?

O suporte está incluído em todos os planos, o apoio está disponível 24 horas por dia e pode escrever-nos em qualquer um dos nossos 59 idiomas — respondemos-lhe no seu.

Contactar o suporte Todos os artigos