Skip to main content
Search

Adding a scheduled task (cron)

Run a script at fixed times.

A scheduled task (also called cron) is a script that runs automatically at fixed times, for example an import every night.

Steps

  1. Go to Websites and open the website.
  2. Go to Files and tasks › Tasks.
  3. Under Task, choose the type, for example PHP script, wp-cli command or WordPress cron.
  4. Enter the script or command.
  5. Under When, choose: every few minutes, every hour, daily or weekly, and the time.
  6. Optionally, enter the Maximum run time (s).
  7. Click Add task.

Good to know

  • Times are in Dutch time.
  • The output is in logs/cron.log.
  • Use Run now to test the task right away. Use Pause to stop it temporarily.
  • For WordPress, it is a good idea to run WordPress cron every 5 minutes.
Was this article helpful?