User Guide

The cron job is not running

Invoices are not made and reminders are not sent. How to find out why the automation stopped and get it running again.

1 min read Updated

The signs#

The dashboard says the daily run has not happened for 26 hours, or Utilities > Automation Status says the last cron run was more than two hours ago. Invoices are not created, reminders are not sent and tickets from email do not arrive.

Check the cron job itself#

In your hosting control panel, open the cron jobs and check that the line runs every five minutes and points to the right cron.php. Compare it with the line on Automation Status.

Run it by hand#

If you have SSH, run the command with -v:

php -q /home/USER/public_html/cron.php -v

Read what it prints. A PHP version error means the command-line PHP is older than 8.1: use the full path to a newer PHP binary in the cron line.

A database update is waiting#

After an update, the automation waits until the database update has run. Open /upgrade in the admin area and run it.

Errors in the log#

Open storage/logs/error-YYYY-MM.log for PHP errors. A permissions error means the cron job's user cannot write to storage/.

Web cron#

If your host offers only web cron, use the cron address with its key from Automation Status. Without the right key the address answers "Forbidden".

Was this article helpful?

Something missing? Ask in the community or open a ticket.