setting correct cron

uvhost

Verified User
Joined
Mar 26, 2006
Messages
58
Location
UK
Hi,

I need to set this cron for my whmcs

/usr/bin/php -q /home/hostsite/domains/hostsite.com/public_html/base/crons/cron.php

I have set all of these, but none of working


I have Openlitespeed with php7.3 installed.

WHMCS is showing https://prnt.sc/wfm1o6

Any idea how can i solve this problem?
 
Hi,

What are saying your cron logs?
Are you able to run the cron job directly through your browser?
 
PHP path is wrong? Normally PHP is installed in '/usr/local/bin/php' ? And if you have multiple versions and need a specific one it's best to use the full path, '/usr/local/php73/bin/php' changing the 'php73' to the version needed... :)
 
Back
Top