1. Home
  2. Enhance Panel
  3. Advanced Management
  4. How to set up a WordPress cron job

How to set up a WordPress cron job

Running WordPress? Make sure it has a cron job. If your WordPress website doesn’t have one, our systems turn off WordPress’s built-in scheduler overnight – so scheduled tasks such as publishing posts, backups and plugin jobs won’t run until you add one.

Do I need to do anything?

How WordPress was installedWhat to do
From the Apps page in your Enhance panelNothing – the cron job is added for you automatically.
Uploaded, moved from another host, or installed by handAdd a cron job using the steps below.

Not sure? Check your list of cron jobs (step 3 below). If you can already see one containing cron event run --due-now – starting with either wp or wp-cli – you’re all set.

Why we do this

WordPress has a built-in scheduler called WP-Cron. Instead of running on a timer, it checks for jobs every time someone visits your website. That causes problems:

The problem with WP-CronWhat a real cron job does instead
Slows your website down. Visitors can be kept waiting while background jobs run.Runs in the background, so your visitors never wait for it.
Unreliable on quieter websites. No visitors means no jobs, so scheduled posts and backups can be late or missed.Runs on time, every time, whether or not anyone visits.
Wasteful on busy websites. It checks on every single page view, using resources over and over for nothing.Checks once, at a set time.
Affects everyone on the server. Lots of websites doing this at once uses resources that could be making every website faster.Spread across the hour, so the server stays fast for you and everyone else.

So a real cron job makes your website faster and more reliable, and helps keep the server quick for every customer.

First, log in to your Enhance panel – see how to log in to the Enhance panel.

Add the WordPress cron job

  1. Select Websites in the left side bar, then select your website.
  2. In the menu along the top, open the Advanced drop-down and select Developer tools.
  3. Select Cron jobs in the menu on the left (or scroll down).
  4. Select Add cron job.
  5. Enter this command exactly:
wp-cli cron event run --due-now --path=public_html
  1. Set Interval to Custom.
  2. In the Minute box, enter any number from 0 to 59 – for example 23. The menu next to it changes to Custom.
  3. Leave the other boxes as they are, each set to *: Hour (Every hour), Day of month (Every day of the month), Month (Every month) and Weekday (Every day of the week).
  4. Select Save.

Your cron job will now run once an hour, at that many minutes past the hour – for example at 10:23, 11:23, 12:23 and so on.

Pick any minute you like, rather than 0. If every website ran its jobs at exactly the start of the hour, the server would have a rush of work all at once. Spreading them out keeps things quick for everyone.

WordPress in a subfolder or on another domain?

The command above is for WordPress in your website’s public_html folder. If it’s somewhere else, change the end of the command to match the folder, for example:

wp-cli cron event run --due-now --path=public_html/blog

Each WordPress installation needs its own cron job.

Good to know

  • Once an hour suits most websites. If a plugin needs its tasks run more often, for example for a busy online shop, please contact us and we’ll advise.
  • Leave “Allow editing of cron from website container” switched off. You don’t need it for this – see how to set up a cron job.
  • Prefer the command line? See getting started with WP-CLI.

Need a hand? Please contact our support team and we’ll be happy to help.

Updated on October 5, 2026
Was this article helpful?

Related Articles

Need Support?
Can't find the answer you're looking for? Don't worry we're here to help!
GET SOME HELP!