Login
Register
Home
Wiki Knowledge Base
FreeDNS
Facebook
Linux Support
Control Web Panel
MENU
Home
Help
Search
Login
Register
Control Web Panel
»
WebPanel
»
CentOS 7 Problems
»
can not set cron job
« previous
next »
Print
Pages: [
1
]
Author
Topic: can not set cron job (Read 1923 times)
0 Members and 1 Guest are viewing this topic.
mohammadnabil
Newbie
Posts: 2
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
»
Logged
rcschaff
Sr. Member
Posts: 820
Jack of all Trades, Master of some.
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.
Logged
Google Hangouts: rcschaff82@gmail.com
mohammadnabil
Newbie
Posts: 2
Re: can not set cron job
«
Reply #2 on:
March 03, 2022, 12:39:42 AM »
thank you so mush
Logged
Print
Pages: [
1
]
« previous
next »
Control Web Panel
»
WebPanel
»
CentOS 7 Problems
»
can not set cron job