can not set cron job

Started by mohammadnabil, March 02, 2022, 11:14:00 PM

Previous topic - Next topic

mohammadnabil

i have installed Moodle under public_html ,
using PHP-FPM 7.4 
user name : ctt
the cron job do not run either manually o[/img][/img]r automatically
i use command :
/usr/local/bin/php /home/ctt/public_html/admin/cli/cron.php

rcschaff

try

/opt/alt/php-fpm74/usr/bin/php  /home/ctt/public_html/admin/cli/cron.php


as your really want your cron to run on the same php version as your website.
Google Hangouts:  rcschaff82@gmail.com

mohammadnabil