Cron jobs are now Schedules

cron, cron jobs, crontab, schedules, scheduled tasks · 0 found this helpful

The Cron jobs page is now Schedules. Schedules runs everything cron did, plus exact timing down to the second, run history, live output and failure email. This article covers what changed for jobs you already have, and how to add a new one.

Your existing jobs

Your cron jobs keep running exactly as before. Nothing is moved or changed until you choose to.

Schedules lists how many cron jobs you have and offers Move cron jobs here. Moving a job gives it run history and failure email without missing or doubling a run. See Move cron jobs to Schedules.

Add a job

  1. Open Account → Hosting → your site → Schedules.
  2. Click New schedule.
  3. Under What to run, choose Command for a shell command, or a script type such as PHP script.
  4. Under When, type a cron expression such as 0 3 * * *, or choose a plain repeat like every day at 3:00 a.m. The preview shows the next five runs.
  5. Click Save schedule.
The New schedule drawer with a repeating schedule and its next five runs

Cron expressions work as they always have, and Schedules also accepts a sixth field for seconds. See Write a schedule.

Where things moved

On the Cron jobs page In Schedules
New job New schedule
Replace WP-Cron WordPress tasks. See Replace WP-Cron with a scheduled task
Run now Run now on the task, with the output shown as it runs
History History on the task, or All runs
Email me if it fails Email me after in the task's Edit drawer

If something goes wrong

  • A job you had isn't listed. Jobs still in cron show in the count under Move cron jobs here until you move them. They keep running in the meantime.
  • A command that worked in cron fails in Schedules. Use full paths, like /usr/local/bin/php instead of php, and check the run's output in History.

Was this helpful?

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