Run tasks on a schedule with Schedules

schedules, cron, scheduled tasks, timer, run history, workers, wp-cron · 0 found this helpful

Schedules runs your commands, PHP, Node.js and Python scripts, and web address checks at the times you choose. It replaces cron jobs with exact timing, one-time runs, run history and email when a task fails. This article shows how to set it up and add your first task.

Before you start

  • You need a hosting plan. Schedules works the same on every site in the account.
  • Each plan has its own limits, such as how often a task can repeat. See What each plan allows.

Set up Schedules

  1. Open Account → Hosting → your site → Schedules.
  2. Click Set up Schedules. Setup takes a few seconds.
  3. Wait for the status line to say The scheduler is running. This happens within 15 minutes of setup.

Your existing cron jobs keep running. You can move them over later (see Move cron jobs to Schedules).

Add a task

  1. Click New schedule.
  2. Give it a Name you'll recognise, like Nightly report.
  3. Under What to run, choose one:
    • Command: a shell command, run from your home folder
    • PHP script, Node.js or Python: a script file, run with the version you pick
    • Visit a web address: we visit a URL and check the answer
    • Keep a worker running: a worker that is restarted if it stops (Business and Pro)
  4. Under When, choose how it repeats. The preview shows the schedule in plain words and the next five runs.
  5. Click Save schedule.
The New schedule drawer with a repeating schedule and its next five runs
When Example Runs
Repeat Every 30 seconds Every 30 seconds, all day
On days Mon, Wed, Fri at 06:30 Those days at 6:30 a.m.
Monthly The last day at 23:00 11 p.m. on the last day of each month
Once 2027-03-01 at 08:00 One time, then marked done
After a task After "Import orders" succeeds Each time that task succeeds
Cron */5 * * * 1-5 Every 5 minutes on weekdays
Advanced every 10m; window 09:00-17:00 See Schedule expressions

Times follow the time zone you pick, through daylight saving changes.

The Schedules list with its status line, run bars and next runs
The Schedules list on a phone

Watch a run and read its output

  1. Click Run now on a task. The output appears as the task writes it.
  2. Click Stop run to end a run early. It gets 10 seconds to finish on its own.
  3. Click History to see past runs, how long each took, and what it printed.
A run's output appearing live after Run now

The coloured bars on each task show its last 20 runs: green worked, red failed, amber skipped or missed.

What each plan allows

Limit Essential Business Pro
Shortest repeat 1 minute 1 second 100 milliseconds
Tasks running at once 2 4 8
Keep-running workers None 1 3

The full list for your plan is under Your plan's limits on the Schedules page.

If something goes wrong

  • The scheduler stopped checking in. Click Repair. Your tasks stay as they are.
  • A task failed. Open History, open the failed run, and read its output. Exit codes other than 0 mean the command reported an error.
  • Your task list was changed outside the panel. Save any task to write a fresh copy. The scheduler keeps running the last version it accepted until then.

Was this helpful?

Still stuck? Ask us and we'll walk you through it.