Make scheduled tasks run without visits step by step

For usersVersion 1.0.0Last updated:

Without doing anything (with a license). If your site has a BuilderOS license, app.builderos.site wakes your site every 5 minutes and tasks run on time without you creating any cron. You see it on the Scheduled tasks card: the Wake up from app.builderos.site switch (turned on by default) and “Last ping … ago”. When a ping has arrived in the last 24 hours, the Scheduled tasks without visits step of the Setup guide is marked done and the cron lines move to Advanced options (“If you prefer your own cron…”). The only thing sent is the call’s address; if you turn the switch off, the site is unsubscribed. Without a license nothing is sent and what’s below still applies.

What they are. Automatic backups, notices, crawls, appointment reminders and cleanups are “scheduled tasks”. By default WordPress wakes them when someone visits the site: if hours go by without visits, they run late. With a server cron they run on time even if nobody visits.

What changes on an existing site: nothing. Until you turn on the own queue, the site keeps using WP-Cron as always. The server cron is only needed if you want punctuality.

Step by step.

  1. Go to BuilderOS → Settings and find the Scheduled tasks card. At the top you see the status: All on time, Delayed or Stopped, the engine in use and when the last pass was.
  2. Click Use the own queue. (To go back, click Back to WP-Cron; no task is lost.)
  3. Copy one of the two lines with Copy. They’re equivalent; use the one your hosting allows:
    • the WP-CLI one: * * * * * wp bos jobs run --budget=50 --path=/ruta/de/tu/sitio
    • the web address one: * * * * * curl -fsS "https://tu-sitio.com/…" > /dev/null (the card already provides it complete, with your site’s key).
  4. In your hosting panel look for Cron jobs (or “Scheduled tasks”). Create a new one that runs every minute and paste the line. If the panel asks for the time separately, choose “every minute” and paste only what comes after the five asterisks.
  5. Wait a few minutes and go back to the card: it should say All on time and show “server cron” with a recent pass.

Universal example. On almost every hosting the panel has “Cron jobs”: you choose the Every minute (* * * * *) interval, type the command and save. On your own server, run crontab -e and paste the line.

If WP-Cron is turned off on your site (the DISABLE_WP_CRON constant), the server cron is mandatory: the Scheduled tasks without visits step of the Setup guide reminds you, and if tasks have been stopped for more than an hour the bell notifies you.