Je suis sur une version Moodle 3.11.15+
J'ai pu le lancer manuellement depuis le navigateur avec la commande : /admin/cron.php?
il semble s’exécuter de cette façon sans problème puisque toutes les taches sont marqué avec succès.
La case d'activation du cron est coché

J'ai essayé de suivre la documentation et j'ai réussi (enfin je crois ) à le lancer depuis un un terminale
J'ai l'impression qu'il y a des erreur mais je ne vois vraiment plus quoi faire. voici ce que j'obtiens dans le terminale
root:/var/www/vhosts/monmoodle# /usr/bin/php /var/www/vhosts/monmoodle/moodle/admin/cli/cron.php
PHP Deprecated: Return type of navigation_node_collection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/vhosts/monmoodle/moodle/lib/navigationlib.php on line 1145
PHP Deprecated: Return type of navigation_node_collection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/vhosts/monmoodle/moodle/lib/navigationlib.php on line 1134
PHP Deprecated: Return type of moodle_recordset::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/vhosts/monmoodle/moodle/lib/dml/moodle_recordset.php on line 61
PHP Deprecated: Return type of context::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/vhosts/monmoodle/moodle/lib/accesslib.php on line 5173
PHP Deprecated: Return type of cm_info::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/vhosts/monmoodle/moodle/lib/modinfolib.php on line 1427
PHP Deprecated: Return type of section_info::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/vhosts/monmoodle/moodle/lib/modinfolib.php on line 3018
PHP Deprecated: Return type of mysqli_native_moodle_recordset::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/vhosts/monmoodle/moodle/lib/dml/mysqli_native_moodle_recordset.php on line 65
PHP Deprecated: Return type of mysqli_native_moodle_recordset::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/vhosts/monmoodle/moodle/lib/dml/mysqli_native_moodle_recordset.php on line 78
PHP Deprecated: Return type of mysqli_native_moodle_recordset::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/vhosts/monmoodle/moodle/lib/dml/mysqli_native_moodle_recordset.php on line 69
PHP Deprecated: Return type of mysqli_native_moodle_recordset::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/vhosts/monmoodle/moodle/lib/dml/mysqli_native_moodle_recordset.php on line 82
PHP Fatal error: Type of xml_format_exception::$line must be int (as in class Exception) in /var/www/vhosts/monmoodle/moodle/lib/xmlize.php on line 42
Avez vous des idées ?
Merci beaucoup