Path to Cron after Installing Multiple PHP option

uvhost

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

Before adding multiple PHP options in DirectAdmin the path to run cron job was:

Code:
/usr/bin/php -q /home/user1/domains/domainxyz.com/my.domain.xyzcom/crons/pop.php >/dev/null 2>&1

It was running on PHP version 7.0.


I have added PHP 7.2 and HAve 7.0 as the second option.

I have tried the following:

Code:
/usr/local/php70 -q /home/user1/domains/domainxyz.com/my.domainxyz.com/crons/cron.php >/dev/null 2>&1

This is WHMCS and I'm using pop3 import option to import mails every minute.

But it's not still working, any help resolving this matter is highly appreciated.
 
Back
Top