Cron jobs are now Schedules
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
- Open Account → Hosting → your site → Schedules.
- Click New schedule.
- Under What to run, choose Command for a shell command, or a script type such as PHP script.
- 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. - Click Save schedule.
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/phpinstead ofphp, and check the run's output in History.
Still stuck? Ask us and we'll walk you through it.
