Hestia User Moodle Cron stopped working

As root execute this command to remove function pcntl_signal from directive disable_functions for PHP 8.1 CLI

sed -i -E 's/(^disable_functions.*),pcntl_signal(.*$)/\1\2/' /etc/php/8.1/cli/php.ini

Once done, try to run the cron job again.

2 Likes