Crontab running but not updating Box information Bgpanel(Bright Game Panel) Topic is solved

About game hosting and game control panel.
sudheer1994
Posts: 4
Joined: Tue Jan 15, 2019 3:30 pm
Location: Hyderabad
Mood:
Has thanked: 7 times
Age: 29

Crontab running but not updating Box information Bgpanel(Bright Game Panel)

Post by sudheer1994 » Wed Apr 15, 2020 1:18 am

Running below mentioned cron from bgpanel itself is not working what am i doing wrong?

*/10 * * * * php -q /var/www/html/gamepanel/admin/cron.php > /dev/null 2>&1

I tried changing permissions of files/folders and reinstalling the panel. Manually running the cron.php file from url just runs fine. The installer also says I have all of the required extensions.

Am I missing something here?

cuehosting
Posts: 8
Joined: Tue Jan 15, 2019 1:23 pm
Has thanked: 2 times
Been thanked: 7 times

Re: Crontab running but not updating Box information Bgpanel(Bright Game Panel)

Post by cuehosting » Wed Apr 15, 2020 1:22 am

A simple fix can solve your problem. Please check your php version. Sometimes mentioning php version may work if you have multiple php versions installed and running for different folders with fpm in case.

try something like below

Code: Select all

*/10 * * * * php5.6 -q /var/www/html/gamepanel/admin/cron.php > /dev/null 2>&1
for different php versions you can try changing number like 5.6/7.0/7.1/7.2/7.3 etc.....

Post Reply Previous topicNext topic