Author Topic: can not set cron job  (Read 572 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
can not set cron job
« on: March 02, 2022, 11:14:00 PM »
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
« Last Edit: March 02, 2022, 11:23:36 PM by mohammadnabil »

Offline
****
Re: can not set cron job
« Reply #1 on: March 03, 2022, 12:21:33 AM »
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

Offline
*
Re: can not set cron job
« Reply #2 on: March 03, 2022, 12:39:42 AM »
thank you so mush