moodle-cron: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/sbin/moodle-cron - from package: moodle

You may install the required package with command yum install {package}
Error in other languages:
moodle-cron: bevel nie gevind nie
moodle-cron: comandă negăsită
moodle-cron: comando não encontrado
moodle-cron: commande introuvable
moodle-cron: command not found
moodle-cron: käsku ei ole
moodle-cron: không tìm thấy lệnh
moodle-cron: komanda nerasta
moodle-cron: Kommando nicht gefunden.
moodle-cron: kommandot finns inte
moodle-cron: komut yok
moodle-cron: nie znaleziono polecenia
moodle-cron: níor aimsíodh an t-ordú
moodle-cron: no se encontró la orden
moodle-cron: no s'ha trobat l'ordre
moodle-cron: opdracht niet gevonden
moodle-cron: parancs nem található
moodle-cron: perintah tidak ditemukan
moodle-cron: príkaz nenájdený
moodle-cron: příkaz nenalezen
moodle-cron: команда не найдена
moodle-cron: командата не е открита
moodle-cron: 命令找不到
moodle-cron: コマンドが見つかりません