A scheduled task (also called cron) is a script that runs automatically at fixed times, for example an import every night.
Steps
- Go to Websites and open the website.
- Go to Files and tasks › Tasks.
- Under Task, choose the type, for example PHP script, wp-cli command or WordPress cron.
- Enter the script or command.
- Under When, choose: every few minutes, every hour, daily or weekly, and the time.
- Optionally, enter the Maximum run time (s).
- 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.