The platform does its background work through one scheduled task, a cron job. The installer's last page shows the exact line for your server. It looks like this:
*/5 * * * * php /home/USER/site/bin/console cron:run >/dev/null 2>&1
Why it matters
Every five minutes the task checks what is due and runs it. Among other things it:
- takes the encrypted database backup each night
- sends email flow emails and phone notifications
- sends invoice reminders and repeat invoices each morning, and the morning email of tasks due
- sends the weekly security summary
- marks scheduled pages, posts and case studies as published when their time comes
- removes old sessions, logs and other data the site no longer needs
- checks once a day for a new version, when a licence key is entered
Without it none of this happens, and the site keeps no backups.
Adding it
- In your hosting panel (cPanel or similar), open Cron Jobs.
- Under Common Settings, choose Once Per Five Minutes.
- In Command, paste the line from the installer without the five timing fields at the start, so it begins with the path to PHP.
- Press Add New Cron Job.
The command must use PHP 8.3 or 8.4 and the full path to site/bin/console. If your server has several PHP versions, your host can tell you the path to the right one.
Checking it works
Within a few minutes, System health shows Scheduled jobs with the time of the last run, and Add the scheduled task ticks itself off in Getting started on the dashboard. The check turns red if the task has not run for two hours.